Use @change rather than @value-change to keep text focus.

This commit is contained in:
Dermot Duffy
2022-01-14 21:31:16 -08:00
parent 915053261e
commit ac877e2dcc
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -1,4 +1,3 @@
// TODO editor: fill in a new camera and keep focus
// TODO editor: fill in a new camera then backspace it away // TODO editor: fill in a new camera then backspace it away
// TODO editor: render correctly when name title is really long // TODO editor: render correctly when name title is really long
// TODO editor: should not be able to move up a new camera before it's not new. // TODO editor: should not be able to move up a new camera before it's not new.
+1 -1
View File
@@ -418,7 +418,7 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
.configValue=${configPath} .configValue=${configPath}
allowed-pattern=${ifDefined(allowedPattern ? allowedPattern : undefined)} allowed-pattern=${ifDefined(allowedPattern ? allowedPattern : undefined)}
prevent-invalid-input=${ifDefined(allowedPattern)} prevent-invalid-input=${ifDefined(allowedPattern)}
@value-changed=${this._valueChangedHandler} @change=${this._valueChangedHandler}
></paper-input>`; ></paper-input>`;
} }