-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "number" type function for Textfield #286
Comments
Missing the ability to set the type of the input, too. "date" and "time" would be great! |
And "tel" Is there a workaround for this? |
Let people create input fields with more types Fix debois#286.
Can say that I would love an ability to set the type of an input to date. Currently, I'm trying to get the following code to work, but it has no effect for some reason Textfield.render Mdl
[0]
model.mdl
[ Textfield.label "Date input"
, Textfield.floatingLabel
, Options.onInput SetDate
, Options.input <| [ Options.attribute <| Html.Attributes.type_ "date" ]
]
[] But the type resolutely stays as text. |
This will only come in v9. I will close here and track progress in #335. |
In similar vein as Textfield.email or Textfield.password
Is tis a good idea, or is there some other canonical way? (regexes and validation?)
The text was updated successfully, but these errors were encountered: