Skip to content

Commit

Permalink
Fix user change password autofill (#21975)
Browse files Browse the repository at this point in the history
* Fix user change password autofill

* Fix user change password new password input
  • Loading branch information
wendevlin authored Sep 13, 2024
1 parent 326b57f commit 137bb47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/panels/profile/ha-change-password-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class HaChangePasswordCard extends LitElement {
autocomplete="current-password"
.value=${this._currentPassword}
@input=${this._currentPasswordChanged}
@change=${this._currentPasswordChanged}
required
></ha-textfield>
Expand All @@ -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
Expand All @@ -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>`
Expand Down

0 comments on commit 137bb47

Please sign in to comment.