Use @change rather than @value-change to keep text focus.
This commit is contained in:
@@ -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
@@ -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>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user