Add name attribute to autocomplete fields (#14258)

This commit is contained in:
Steve Repsher
2022-11-02 13:22:02 -04:00
committed by GitHub
parent ffbcb0a343
commit 98a32041d4
9 changed files with 17 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ export class HaFormString extends LitElement implements HaFormElement {
.disabled=${this.disabled}
.required=${this.schema.required}
.autoValidate=${this.schema.required}
.name=${this.schema.name}
.autocomplete=${this.schema.autocomplete}
.suffix=${isPassword
? // reserve some space for the icon.