You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to have a button which allows me to remove all filters. However I don't want the filters cloud with it. So, my solution was to do this:
<SelectedFilters showClearAll clearAllLabel="Remove all filters" />
and put showFilter={false} on each other component.
However, if you do that, you'll never get the clearAll button.
Describe the solution you'd like showClearAll should display the clear all button anytime you've got a filter, even if showFilter is to false on it.
Affected Projects
React
Is your feature request related to a problem? Please describe.
I would like to have a button which allows me to remove all filters. However I don't want the filters cloud with it. So, my solution was to do this:
<SelectedFilters showClearAll clearAllLabel="Remove all filters" />
and put
showFilter={false}
on each other component.However, if you do that, you'll never get the clearAll button.
Describe the solution you'd like
showClearAll
should display the clear all button anytime you've got a filter, even if showFilter is to false on it.Describe alternatives you've considered
Make a special clearFilter component to define what you want to clear: a componentId or all filters like http://docs.searchkit.co/v2.0.0/components/navigation/reset.html
The text was updated successfully, but these errors were encountered: