use input instead of change

So when you press enter, the correct value is saved
This commit is contained in:
Bram Kragten 2022-09-08 16:41:26 +02:00
parent d15c6b5e40
commit c8a830f4ec
No known key found for this signature in database
GPG Key ID: FBE2DFDB363EF55B
1 changed files with 2 additions and 2 deletions

View File

@ -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">