diff options
Diffstat (limited to 'src/viewmodel/telephone.rs')
-rw-r--r-- | src/viewmodel/telephone.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/viewmodel/telephone.rs b/src/viewmodel/telephone.rs index 6c930a2..774b63d 100644 --- a/src/viewmodel/telephone.rs +++ b/src/viewmodel/telephone.rs @@ -31,6 +31,7 @@ impl VCardPropertyInputObject<TelephoneView> for Telephone { } } fn get_input_fields(&self, link: &ComponentLink<TelephoneView>) -> Vec<VCardPropertyInputField> { + let typ = String::from("tel"); vec![ VCardPropertyInputField::Text{ label: "Number".to_string(), @@ -38,6 +39,7 @@ impl VCardPropertyInputObject<TelephoneView> for Telephone { placeholder: None, oninput: link.callback(|e: InputData| Msg::UpdateNumber(e.value)), value: self.number.clone(), + typ, }, VCardPropertyInputField::CheckBox{ label: "Work".to_string(), |