TanStack Table version#
8.21.3
Framework/Library version#
React 18.3.1
Describe the bug and the steps to reproduce it#
I created a fork of the official example for table filters and modified it so that some "age" values are randomly generated as null.
The minimal reproducible example is linked below.
When applying a range filter from 0 to a number (such as 20), values which are null are also included in the results.
If this behavior is not intentional, then this should be considered a bug.
If this is intentional, I'd like to understand the reasoning behind including null values in the results.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)#
https://stackblitz.com/edit/tanstack-table-rktr4rmq
Screenshots or Videos (Optional)#
Do you intend to try to help solve this bug with your own PR?#
None
Terms & Code of Conduct#
In my post I referred to it as filterVariant: 'range' as that is the way it is set in the example project, however the filter it is actually using should be
inNumberRange. That is what we're using in our production app where we first viewed the behavior.