Add local date time.
This commit is contained in:
parent
6236cf6ae9
commit
271713ded1
2 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue