mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix user change password autofill (#21975)
* Fix user change password autofill * Fix user change password new password input
This commit is contained in:
parent
326b57f91b
commit
137bb473c0
@ -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>`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user