diff --git a/src/components/ha-selector/ha-selector-text.ts b/src/components/ha-selector/ha-selector-text.ts index dd47b2c27c..003775832d 100644 --- a/src/components/ha-selector/ha-selector-text.ts +++ b/src/components/ha-selector/ha-selector-text.ts @@ -39,7 +39,7 @@ export class HaTextSelector extends LitElement { .disabled=${this.disabled} @input=${this._handleChange} autocapitalize="none" - autocomplete="off" + .autocomplete=${this.selector.text.autofill} spellcheck="false" .required=${this.required} autogrow @@ -59,6 +59,7 @@ export class HaTextSelector extends LitElement { html`
` : this.selector.text?.suffix} .required=${this.required} + .autocomplete=${this.selector.text.autofill} > ${this.selector.text?.type === "password" ? html`