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 columnFilters - search input is not cleared when columnFilter is set to empty array using custom reset button #427

Open
1 task done
benedictpmateo opened this issue Oct 22, 2024 · 0 comments

Comments

@benedictpmateo
Copy link

mantine-react-table version

2.0.0-beta.7

react & react-dom versions

18.3.1

Describe the bug and the steps to reproduce it

I made a Custom Reset button for columnFilters. I was hoping that when I set the columnFilters state to empty array it will clear the search input of the select dropdown filter - right now it doesn't clear the search input but the filter is cleared as expected.

Minimal, Reproducible Example - (Optional, but Recommended)

https://codesandbox.io/p/sandbox/d3ny66

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

No, because I do not have time to dig into it

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant