kotlinx.html
kotlinx.html copied to clipboard
Chrome warning Input elements should have autocomplete attributes
To support password managers, we shall follow these rules: https://www.chromium.org/developers/design-documents/form-styles-that-chromium-understands
Unfortunately, kotlinx.html binding only allows setting a Boolean value for "autocomplete":
var autoComplete : Boolean
get() = attributeBooleanBooleanOnOff.get(this, "autocomplete")
set(newValue) {attributeBooleanBooleanOnOff.set(this, "autocomplete", newValue)}