Global Filter does not work, if one of your columns has null #5084
Unanswered
codelover2k
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Im having the same issue in my app, but when I try to recreate a simple example it works fine. https://codesandbox.io/p/devbox/epic-ride-forked-6j9dpl?file=%2Fsrc%2FApp.tsx%3A67%2C40
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If one of your columns contain null, the globalfilter does not work.
The only way to make it work, is to use map() and change every null to an empty string.
Is there maybe a way to tell react-table to transform nulls to empty strings or ignore them on globalfiltering, so to save some map() logic for every table that you are using?
Beta Was this translation helpful? Give feedback.
All reactions