From 251c796d0c8aa90d8495aa867e8ad9ab4b4e25a3 Mon Sep 17 00:00:00 2001 From: Ebrahim Haji Date: Thu, 18 Jan 2024 19:47:27 -0600 Subject: [PATCH] fix: prevent block change event firing if editing is cancelled --- core/field_input.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/field_input.ts b/core/field_input.ts index 2cd4015b0..08e7c7b78 100644 --- a/core/field_input.ts +++ b/core/field_input.ts @@ -542,6 +542,7 @@ export abstract class FieldInput extends Field< } else if (e.key === 'Escape') { this.setValue( this.htmlInput_!.getAttribute('data-untyped-default-value'), + false ); WidgetDiv.hide(); dropDownDiv.hideWithoutAnimation();