From f21d021658c3043784ce0b0c0ee0540ba5bf08c0 Mon Sep 17 00:00:00 2001 From: stephenLYZ <750188453@qq.com> Date: Sun, 26 Dec 2021 19:20:43 +0800 Subject: [PATCH] fix(explore): simple tab content input problem --- .../AdhocFilterEditPopoverSimpleTabContent/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterEditPopoverSimpleTabContent/index.tsx b/superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterEditPopoverSimpleTabContent/index.tsx index 0f037fb31d945..42baf74bdd1cf 100644 --- a/superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterEditPopoverSimpleTabContent/index.tsx +++ b/superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterEditPopoverSimpleTabContent/index.tsx @@ -234,7 +234,9 @@ const AdhocFilterEditPopoverSimpleTabContent: React.FC = props => { const onInputComparatorChange = ( event: React.ChangeEvent, ) => { - onComparatorChange(event.target.value); + const { value } = event.target; + setComparator(value); + onComparatorChange(value); }; const renderSubjectOptionLabel = (option: ColumnType) => (