kotlinx.html icon indicating copy to clipboard operation
kotlinx.html copied to clipboard

Chrome warning Input elements should have autocomplete attributes

Open weickmanna opened this issue 5 years ago • 0 comments

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)}

weickmanna avatar Mar 14 '19 14:03 weickmanna