Fix user change password autofill (#21975)

* Fix user change password autofill

* Fix user change password new password input
This commit is contained in:
Wendelin 2024-09-13 17:17:40 +02:00 committed by GitHub
parent 326b57f91b
commit 137bb473c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,6 +62,7 @@ class HaChangePasswordCard extends LitElement {
autocomplete="current-password" autocomplete="current-password"
.value=${this._currentPassword} .value=${this._currentPassword}
@input=${this._currentPasswordChanged} @input=${this._currentPasswordChanged}
@change=${this._currentPasswordChanged}
required required
></ha-textfield> ></ha-textfield>
@ -74,6 +75,7 @@ class HaChangePasswordCard extends LitElement {
type="password" type="password"
autocomplete="new-password" autocomplete="new-password"
.value=${this._password} .value=${this._password}
@input=${this._newPasswordChanged}
@change=${this._newPasswordChanged} @change=${this._newPasswordChanged}
required required
auto-validate auto-validate
@ -87,6 +89,7 @@ class HaChangePasswordCard extends LitElement {
autocomplete="new-password" autocomplete="new-password"
.value=${this._passwordConfirm} .value=${this._passwordConfirm}
@input=${this._newPasswordConfirmChanged} @input=${this._newPasswordConfirmChanged}
@change=${this._newPasswordConfirmChanged}
required required
auto-validate auto-validate
></ha-textfield>` ></ha-textfield>`