fix(explore): simple tab content input problem (#17872)

This commit is contained in:
Stephen Liu 2022-01-03 12:41:19 +08:00 committed by GitHub
parent 4954d52329
commit 07998fea68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -234,7 +234,9 @@ const AdhocFilterEditPopoverSimpleTabContent: React.FC<Props> = props => {
const onInputComparatorChange = (
event: React.ChangeEvent<HTMLInputElement>,
) => {
onComparatorChange(event.target.value);
const { value } = event.target;
setComparator(value);
onComparatorChange(value);
};
const renderSubjectOptionLabel = (option: ColumnType) => (