BooleanArrFilter component
Implement a new BooleanArrFilter
component that looks and behaves like the StringArrFilter
with options (think filter for crops).
It should have 2 checkboxes when specifying notNull
:
- Yes
- No
When null is allowed, it should have 3 checkboxes:
- Yes
- No
- Not provided (when checking this checkbox, the yes and no are unchecked. When clicking yes or no, this one is unchecked).
The input value for the filter is either a boolean
or boolean[]
.
The output value of this control is boolean[]
and it can be [true]
, [false]
or [true, false]
. If notNull === false
, then the filters NULL: []
is handled as in other filters.
For testing, use code in genesys-pgr/genesys-server!487