Fix autofill for ha-selector-text (#21861)

This commit is contained in:
Wendelin 2024-09-03 09:35:17 +02:00 committed by GitHub
parent a09f44dcd2
commit fa8b3f006d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,6 +82,7 @@ export class HaTextSelector extends LitElement {
.disabled=${this.disabled}
.type=${this._unmaskedPassword ? "text" : this.selector.text?.type}
@input=${this._handleChange}
@change=${this._handleChange}
.label=${this.label || ""}
.prefix=${this.selector.text?.prefix}
.suffix=${this.selector.text?.type === "password"