You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[v8] Filter not working if accessorFn returns null for any row #4245
Rows with actual value to be filtered succesfully.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS
react-table version
v8.5.1, v.8.5.2
TypeScript version
v4.7.4
Additional context
No response
Terms & Code of Conduct
I agree to follow this project's Code of Conduct
I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
changed the title [-][v8] Filter not working if accessorFn return null for any row[/-][+][v8] Filter not working if accessorFn returns null for any row[/+]on Aug 2, 2022
I stumbled upon this as well. I went to check the tests to see what the correct behaviour is but there are no tests :/ I'm trying to find out where the exception for null is.
Activity
marceloverdijk commentedon Aug 1, 2022
Another issue with the workaround mentioned (
return '') is thatsortUndefined: 1,won't work anymore.[-][v8] Filter not working if accessorFn return null for any row[/-][+][v8] Filter not working if accessorFn returns null for any row[/+]simPod commentedon Sep 9, 2022
I stumbled upon this as well. I went to check the tests to see what the correct behaviour is but there are no tests :/ I'm trying to find out where the exception for null is.
KevinVandy commentedon Nov 14, 2022
Fixed by #4441
axeldvp commentedon Jun 16, 2023
Hello, even with this fix :
If the 1st value is null, globalFilter doesn't work.