From a56b2e3270a55d052e226138499a1fb25ca26028 Mon Sep 17 00:00:00 2001 From: Steve Repsher Date: Thu, 27 Oct 2022 09:30:08 -0400 Subject: [PATCH] Rename autofill to autocomplete for text selector (#14202) --- src/components/ha-selector/ha-selector-text.ts | 4 ++-- src/data/selector.ts | 2 +- src/onboarding/onboarding-create-user.ts | 12 ++++++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/ha-selector/ha-selector-text.ts b/src/components/ha-selector/ha-selector-text.ts index 003775832d46..1f5190dabe81 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=${this.selector.text.autofill} + .autocomplete=${this.selector.text.autocomplete} spellcheck="false" .required=${this.required} autogrow @@ -59,7 +59,7 @@ export class HaTextSelector extends LitElement { html`
` : this.selector.text?.suffix} .required=${this.required} - .autocomplete=${this.selector.text.autofill} + .autocomplete=${this.selector.text.autocomplete} > ${this.selector.text?.type === "password" ? html`