Browse Source

feat(nc-gui): exclude null operators for checkbox

pull/5106/head
Wing-Kam Wong 2 years ago
parent
commit
0f5f1b7b0a
  1. 4
      packages/nc-gui/utils/filterUtils.ts

4
packages/nc-gui/utils/filterUtils.ts

@ -101,13 +101,13 @@ export const comparisonOpList = (
text: 'is null',
value: 'null',
ignoreVal: true,
excludedTypes: [...numericUITypes, UITypes.SingleSelect, UITypes.MultiSelect, UITypes.Collaborator],
excludedTypes: [...numericUITypes, UITypes.Checkbox, UITypes.SingleSelect, UITypes.MultiSelect, UITypes.Collaborator],
},
{
text: 'is not null',
value: 'notnull',
ignoreVal: true,
excludedTypes: [...numericUITypes, UITypes.SingleSelect, UITypes.MultiSelect, UITypes.Collaborator],
excludedTypes: [...numericUITypes, UITypes.Checkbox, UITypes.SingleSelect, UITypes.MultiSelect, UITypes.Collaborator],
},
{
text: 'contains all of',

Loading…
Cancel
Save