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

Switching Column Filter Function from "empty|notEmpty" to "equals|contains|..." causes Exception #442

Open
1 task done
floriankapaun opened this issue Nov 13, 2024 · 0 comments · May be fixed by #443
Open
1 task done

Comments

@floriankapaun
Copy link

mantine-react-table version

2.0.0-beta.7

react & react-dom versions

^18.2.0

Describe the bug and the steps to reproduce it

When you're setting a columns filter mode to empty or notEmpty and then switch it to another one like equals the following Error is thrown: Uncaught TypeError: _value.map is not a function.

Minimal, Reproducible Example - (Optional, but Recommended)

https://codesandbox.io/p/devbox/dreamy-matsumoto-3cxcss?file=%2Fsrc%2FTS.tsx

Screenshots or Videos (Optional)

No response

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

Maybe, I'll investigate and start debugging

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.
@floriankapaun floriankapaun linked a pull request Nov 13, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant