use input instead of change
So when you press enter, the correct value is saved
This commit is contained in:
parent
d15c6b5e40
commit
c8a830f4ec
|
@ -78,7 +78,7 @@ class DialogAutomationRename extends LitElement implements HassDialog {
|
|||
)}
|
||||
required
|
||||
type="string"
|
||||
@change=${this._valueChanged}
|
||||
@input=${this._valueChanged}
|
||||
></ha-textfield>
|
||||
|
||||
<ha-textarea
|
||||
|
@ -91,7 +91,7 @@ class DialogAutomationRename extends LitElement implements HassDialog {
|
|||
name="description"
|
||||
autogrow
|
||||
.value=${this._newDescription}
|
||||
@change=${this._valueChanged}
|
||||
@input=${this._valueChanged}
|
||||
></ha-textarea>
|
||||
|
||||
<mwc-button @click=${this.closeDialog} slot="secondaryAction">
|
||||
|
|
Loading…
Reference in New Issue