Add allowEmptyRules options for buildFilter in the useFilterPropertyBuilder hook so that the function will return the filter even if there are some errors when validating the rules instead of returning undefined.
Add allowInitialEmptyRules props for the useFilterPropertyBuilder that modifies getRangeRuleItems behavior to return a filter even if both from and to value is undefined instead of returning undefined when one of them is undefined.
Testing
Added new unit tests and visually checked component in Storybook.
Changes
allowEmptyRules
options for buildFilter in the useFilterPropertyBuilder hook so that the function will return the filter even if there are some errors when validating the rules instead of returning undefined.allowInitialEmptyRules
props for the useFilterPropertyBuilder that modifiesgetRangeRuleItems
behavior to return a filter even if both from and to value is undefined instead of returning undefined when one of them is undefined.Testing
Added new unit tests and visually checked component in Storybook.