Accept new value when hitting ENTER to close a prompt dialog (#12360)

Co-authored-by: Zack Barett <zackbarett@hey.com>
This commit is contained in:
Eric Stern 2022-04-22 12:23:34 -07:00 committed by GitHub
parent ba2958ecd2
commit 269ef370e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ class DialogBox extends LitElement {
dialogInitialFocus
.value=${this._value || ""}
@keyup=${this._handleKeyUp}
@change=${this._valueChanged}
@input=${this._valueChanged}
.label=${this._params.inputLabel
? this._params.inputLabel
: ""}