This PR adds defaultSelectionMode and defaultFilterGroupType parameters to DynamicFacetList components to customize their default behaviour. It will replace the hardcoded single selection, and filter group type.
Result
Developers allowed to set the default selection type and filter group type for DynamicFacetList component instead of hardcoded single selection and conjunctive (and) group type. It helps to avoid boilerplate code in case of big amount of facet attributes which supposed to behave differently from the hardcoded values.
Summary
This PR adds
defaultSelectionMode
anddefaultFilterGroupType
parameters toDynamicFacetList
components to customize their default behaviour. It will replace the hardcodedsingle
selection,and
filter group type.Result
Developers allowed to set the default selection type and filter group type for
DynamicFacetList
component instead of hardcoded single selection and conjunctive (and
) group type. It helps to avoid boilerplate code in case of big amount of facet attributes which supposed to behave differently from the hardcoded values.