Filter comparators should be extensible.
Closed this issue · 1 comments
Currently there are 3 build-in data types (Number, String, Date)
According to the documentation:
numberComparators: Array
Comparison options shown in the advanced filtering UI for columns of type number. Valid options are:'less_than'
'equals'
'not_equal'
'equal_or_greater_than'
'equal_or_less_than'
'greater_than'
If this array is undefined or empty, all options will be shown.
stringComparators: Array
Comparison options shown in the advanced filtering UI for columns of type string. Valid options are:'equals'
'contains'
'starts_with'
'ends_with'
'wildcard'
If this array is undefined or empty, all options will be shown.
numberComparators, stringComparators are configurable to hide some options. There is only one comparator(range) for Date type and it is not configurable.
None of the datatype comparators is extensible(add more actions). Could you please help to support it?
This issue or PR has been automatically marked as stale because there has been no activity in over a year. It will be closed in 1 week if no further activity occurs. Thanks for your contribution, and please don't hesitate to comment if this issue/PR is still relevant.