From fa8b3f006dae6def842fcb603e278441e2fb8066 Mon Sep 17 00:00:00 2001 From: Wendelin <12148533+wendevlin@users.noreply.github.com> Date: Tue, 3 Sep 2024 09:35:17 +0200 Subject: [PATCH] Fix autofill for ha-selector-text (#21861) --- src/components/ha-selector/ha-selector-text.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ha-selector/ha-selector-text.ts b/src/components/ha-selector/ha-selector-text.ts index 89d336c102..8e76aa6bbd 100644 --- a/src/components/ha-selector/ha-selector-text.ts +++ b/src/components/ha-selector/ha-selector-text.ts @@ -82,6 +82,7 @@ export class HaTextSelector extends LitElement { .disabled=${this.disabled} .type=${this._unmaskedPassword ? "text" : this.selector.text?.type} @input=${this._handleChange} + @change=${this._handleChange} .label=${this.label || ""} .prefix=${this.selector.text?.prefix} .suffix=${this.selector.text?.type === "password"