diff --git a/core/field_input.ts b/core/field_input.ts index 0257a345a..ba86b0449 100644 --- a/core/field_input.ts +++ b/core/field_input.ts @@ -444,7 +444,7 @@ export abstract class FieldInput extends Field { if (e.key === 'Enter') { WidgetDiv.hide(); dropDownDiv.hideWithoutAnimation(); - } else if (e.key === 'Esc') { + } else if (e.key === 'Escape') { this.setValue( this.htmlInput_!.getAttribute('data-untyped-default-value')); WidgetDiv.hide();