mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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] || ""}
|
.value=${this.stepData[schema.name] || ""}
|
||||||
.autocomplete=${schema.autocomplete}
|
.autocomplete=${schema.autocomplete}
|
||||||
@input=${this._valueChanged}
|
@input=${this._valueChanged}
|
||||||
|
@change=${this._valueChanged}
|
||||||
/>
|
/>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
@ -68,6 +68,7 @@ export class HaFormString extends LitElement implements HaFormElement {
|
|||||||
: this.schema.description?.suffix}
|
: this.schema.description?.suffix}
|
||||||
.validationMessage=${this.schema.required ? "Required" : undefined}
|
.validationMessage=${this.schema.required ? "Required" : undefined}
|
||||||
@input=${this._valueChanged}
|
@input=${this._valueChanged}
|
||||||
|
@change=${this._valueChanged}
|
||||||
></ha-textfield>
|
></ha-textfield>
|
||||||
${isPassword
|
${isPassword
|
||||||
? html`<ha-icon-button
|
? html`<ha-icon-button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user