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

Issues with manual filter when change mode #55

Closed
1 task done
tdanh2k opened this issue Aug 31, 2022 · 1 comment
Closed
1 task done

Issues with manual filter when change mode #55

tdanh2k opened this issue Aug 31, 2022 · 1 comment

Comments

@tdanh2k
Copy link

tdanh2k commented Aug 31, 2022

material-react-table version

v0.40.11

Describe the bug and the steps to reproduce it

  1. Create table with these props: manualFiltering, enableColumnFilters, enableColumnFilterModes, onColumnFiltersChange.
  2. Manage the customFilter state.
  3. Open column filter, type anything in the box.
  4. Then switch modes. The column that has its mode changed will not display when capture in useEffect, but the input still persists (It should also clear the input or keep the filter when change modes).

Your Minimal, Reproducible Example - Sandbox (Recommended) or code snippets

https://codesandbox.io/s/material-react-table-check-jpysue?file=/src/App.js

Screenshots or Videos (Optional)

No response

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

No, because I don't know how

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.
@KevinVandy
Copy link
Owner

The filter should be reset properly now upon changing filter modes as of v0.41.0

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

2 participants