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"
.value=${this._currentPassword}
@input=${this._currentPasswordChanged}
@change=${this._currentPasswordChanged}
required
></ha-textfield>
@ -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
></ha-textfield>`