-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
@property({type: String, reflect: true}) autocomplete?: "on" | "off"; |
The input behavior class extends the form element behaviors, but, only recognizes "on" or "off" as valid values when in fact, there are many more defined autocompete types/values (see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete).
For now, this only affects type checking and linting tools that enforce them, but it would be great if this were just a pass-thru attribute to the <input/>
element and no errors were flagged on code such as this:
<wl-textfield type="password autocomplete="current-password"></wl-textfield>```
Metadata
Metadata
Assignees
Labels
No labels