feat: Add new 'is empty' and 'is not empty' operators to Filter (#8445)
Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
@@ -23,6 +23,18 @@ export const OPERATORS_BY_ID = {
|
||||
name: 'filter.operator.notExists',
|
||||
singleValue: true,
|
||||
},
|
||||
'string:empty': {
|
||||
type: 'string',
|
||||
operation: 'empty',
|
||||
name: 'filter.operator.empty',
|
||||
singleValue: true,
|
||||
},
|
||||
'string:notEmpty': {
|
||||
type: 'string',
|
||||
operation: 'notEmpty',
|
||||
name: 'filter.operator.notEmpty',
|
||||
singleValue: true,
|
||||
},
|
||||
'string:equals': { type: 'string', operation: 'equals', name: 'filter.operator.equals' },
|
||||
'string:notEquals': { type: 'string', operation: 'notEquals', name: 'filter.operator.notEquals' },
|
||||
'string:contains': { type: 'string', operation: 'contains', name: 'filter.operator.contains' },
|
||||
|
||||
Reference in New Issue
Block a user