html icon indicating copy to clipboard operation
html copied to clipboard

Autocomplete attribute should be more complex

Open wadouk opened this issue 6 years ago • 2 comments

Autocomplete attribute is a boolean but in the spec there is an longer enum.

Do you think this enum should be hardcoded or should be free to dev ?

wadouk avatar Mar 20 '19 09:03 wadouk

I was only aware of the "on" and "off" options when I chose the Bool argument.

I'm not sure when we can expand the API there, but It should be possible to use property "autocomplete" "..." in the meantime.

evancz avatar Apr 04 '19 19:04 evancz

I threw something together for the elm-community/html-extra package. The available values are based off of the WhatWG spec:

https://package.elm-lang.org/packages/elm-community/html-extra/latest/Html-Attributes-Autocomplete

https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill

prikhi avatar Aug 16 '19 04:08 prikhi