react-admin icon indicating copy to clipboard operation
react-admin copied to clipboard

Clear (reset) filter action

Open soullivaneuh opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Since the new v4 major release of react-admin, it seems we have persisted filter enabled by default.

This is convenient for the navigation. However, sometimes we need to reset to the defaults and we may have a lot of filter to disabled one by one.

Describe the solution you'd like

A generic "Clear filter" action that resets the filter state from scratch.

Describe alternatives you've considered N/A

Additional context N/A

soullivaneuh avatar Jun 15 '22 11:06 soullivaneuh

Thanks for the suggestion, this will be discussed with the team.

antoinefricker avatar Jun 15 '22 13:06 antoinefricker

Feature has been implemented and merged in the minor version 4.3 due by August 26, 2022.

antoinefricker avatar Aug 12 '22 08:08 antoinefricker