Skip to content
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

Textfield.value does not update for empty string #261

Closed
damukles opened this issue Dec 28, 2016 · 1 comment
Closed

Textfield.value does not update for empty string #261

damukles opened this issue Dec 28, 2016 · 1 comment
Assignees
Labels

Comments

@damukles
Copy link

With my upgrade to elm-mdl 8.0 my Textfield.value does not display en empty string, when set in model:

Textfield.value <| Debug.log "current" model.currentInput

The Debug Log says "", but the last value persists in the input field.

@debois
Copy link
Owner

debois commented Dec 28, 2016

I'll look at this tomorrow morning; if you're in a hurry, a workaround could be to try using Option.input to set Html.Attributes.value to what you want directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants