Open benjamin-dreux opened 6 days ago
According to: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
The attribute value is either the keyword off or on, or a space-separated <token-list> that describes the meaning of the autocompletion value.
So the Enum is complete, in the sense that it provide all normal values. But we need another signature for attrAutocomplete to provide alternative values.
Another option could be to accept the api as is and to recommend using addAttr to compensate. In this case it would be normal to add a comment regarding this use case on the attrAutocomplete javadoc
Accoriding to https://www.w3schools.com/tags/att_input_autocomplete.asp There is now a LOT of possible values for the attribute autocomplete of input.
But most of them are missing, in EnumAutocomplete see https://javadoc.io/doc/com.github.xmlet/htmlApiFaster/latest/org/xmlet/htmlapifaster/EnumAutocompleteType.html