mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Listen to change event on string form too for autofill (#17733)
* Listen to change event on string form too for autofill * Update ha-password-manager-polyfill.ts
This commit is contained in:
parent
e002c5d96c
commit
c0793fad83
@ -107,6 +107,7 @@ export class HaPasswordManagerPolyfill extends LitElement {
|
||||
.value=${this.stepData[schema.name] || ""}
|
||||
.autocomplete=${schema.autocomplete}
|
||||
@input=${this._valueChanged}
|
||||
@change=${this._valueChanged}
|
||||
/>
|
||||
`;
|
||||
}
|
||||
|
@ -68,6 +68,7 @@ export class HaFormString extends LitElement implements HaFormElement {
|
||||
: this.schema.description?.suffix}
|
||||
.validationMessage=${this.schema.required ? "Required" : undefined}
|
||||
@input=${this._valueChanged}
|
||||
@change=${this._valueChanged}
|
||||
></ha-textfield>
|
||||
${isPassword
|
||||
? html`<ha-icon-button
|
||||
|
Loading…
x
Reference in New Issue
Block a user