Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear (reset) filter action #7831

Closed
soullivaneuh opened this issue Jun 15, 2022 · 2 comments · Fixed by #8017
Closed

Clear (reset) filter action #7831

soullivaneuh opened this issue Jun 15, 2022 · 2 comments · Fixed by #8017

Comments

@soullivaneuh
Copy link
Contributor

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

@antoinefricker
Copy link
Contributor

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

@antoinefricker
Copy link
Contributor

antoinefricker commented Aug 12, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants