From 137bb473c0e5ed7d34c45a1c62ec23c7d2cb1f1e Mon Sep 17 00:00:00 2001 From: Wendelin <12148533+wendevlin@users.noreply.github.com> Date: Fri, 13 Sep 2024 17:17:40 +0200 Subject: [PATCH] Fix user change password autofill (#21975) * Fix user change password autofill * Fix user change password new password input --- src/panels/profile/ha-change-password-card.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/panels/profile/ha-change-password-card.ts b/src/panels/profile/ha-change-password-card.ts index a00eeb61e2a9..a09ac13a3e6a 100644 --- a/src/panels/profile/ha-change-password-card.ts +++ b/src/panels/profile/ha-change-password-card.ts @@ -62,6 +62,7 @@ class HaChangePasswordCard extends LitElement { autocomplete="current-password" .value=${this._currentPassword} @input=${this._currentPasswordChanged} + @change=${this._currentPasswordChanged} required > @@ -74,6 +75,7 @@ class HaChangePasswordCard extends LitElement { type="password" autocomplete="new-password" .value=${this._password} + @input=${this._newPasswordChanged} @change=${this._newPasswordChanged} required auto-validate @@ -87,6 +89,7 @@ class HaChangePasswordCard extends LitElement { autocomplete="new-password" .value=${this._passwordConfirm} @input=${this._newPasswordConfirmChanged} + @change=${this._newPasswordConfirmChanged} required auto-validate >`