Closed hickscorp closed 6 years ago
Solved by providing a Textfield.value
option to the components.
It'd be nice to have that as a side note in the docs maybe?
For future reference:
Textfield.render Mat
[ 0 ]
model.mdl
[ Textfield.label "Email Address"
, Textfield.value model.email
, Options.onInput Email
, Textfield.floatingLabel
]
[]
I'm observing a very odd behavior.
Here is a screenshot after placing text in all the fields. As you can see, the issue doesn't occur with multilines.
EDIT: I am providing a full Elm file to make sure you can test easily: