mdgriffith / elm-ui

What if you never had to write CSS again?
https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/
BSD 3-Clause "New" or "Revised" License
1.35k stars 110 forks source link

Autocomplete missing on email input #266

Closed MartinSStewart closed 3 years ago

MartinSStewart commented 3 years ago

The autocomplete behavior is missing on Element.Input.email. When clicking on an email field the expected behavior is for the browser to offer to fill it in with my email but this doesn't happen on elm-ui's email field. The work around for now is to add Element.htmlAttributes <| Html.Attributes.attribute "autocomplete" "email".

pravdomil commented 3 years ago

It looks that is resolved?

https://github.com/mdgriffith/elm-ui/blob/7919c5e4f43741fc2d9b98a60fdd354fdb31a997/src/Element/Input.elm#L1560

MartinSStewart commented 3 years ago

It looks like it. I might have mistakenly used an outdated version of elm-ui when I created this issue.