Browse Source

Add local date time.

main
Thomas Gideon 2 years ago
parent
commit
271713ded1
  1. 2
      Cargo.toml
  2. 2
      src/input/mod.rs

2
Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "bootstrap-rs"
version = "0.2.7"
version = "0.2.8"
authors = ["Thomas Gideon <cmdln@thecommandline.net>"]
edition = "2018"

2
src/input/mod.rs

@ -12,6 +12,7 @@ use yew::prelude::*;
pub enum InputType {
Text,
Date,
DateTime,
Checkbox,
Color,
}
@ -21,6 +22,7 @@ impl Display for InputType {
match self {
Self::Text => write!(f, "text"),
Self::Date => write!(f, "date"),
Self::DateTime => write!(f, "datetime-local"),
Self::Checkbox => write!(f, "checkbox"),
Self::Color => write!(f, "color"),
}

Loading…
Cancel
Save