diff --git a/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue b/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue index 2d9495ea82..07e1dabe73 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue @@ -154,6 +154,9 @@ const selectFilterField = (filter: Filter, index: number) => { if ([UITypes.Date, UITypes.DateTime].includes(col.uidt as UITypes) && !['blank', 'notblank'].includes(filter.comparison_op)) { filter.comparison_sub_op = 'exact_date' + } else { + // reset + filter.comparison_sub_op = '' } // reset filter value as well @@ -294,24 +297,23 @@ defineExpose({ - - + +