mantine-react-table version
v1.3.4
react & react-dom versions
19.2.3
Describe the bug and the steps to reproduce it
Hello there!
On docs we have this affirmation You can then customize which filter modes are available in the dropdown by setting the globalFilterModeOptions prop
But when passing globalFilterModeOptions with filter modes like 'equals', they are silently excluded from the global filter dropdown menu. Only fuzzy, contains, and startsWith can ever appear, regardless of what is passed in globalFilterModeOptions.
Minimal, Reproducible Example - (Optional, but Recommended)
<MantineReactTable
columns={columns}
data={data}
enableGlobalFilterModes
globalFilterModeOptions={['contains', 'startsWith', 'equals']}
globalFilterFn="contains"
/>
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
Yes, I think I know how to fix it and will discuss it in the comments of this issue
Terms
mantine-react-table version
v1.3.4
react & react-dom versions
19.2.3
Describe the bug and the steps to reproduce it
Hello there!
On docs we have this affirmation You can then customize which filter modes are available in the dropdown by setting the globalFilterModeOptions prop
But when passing
globalFilterModeOptionswith filter modes like'equals', they are silently excluded from the global filter dropdown menu. Onlyfuzzy,contains, andstartsWithcan ever appear, regardless of what is passed inglobalFilterModeOptions.Minimal, Reproducible Example - (Optional, but Recommended)
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
Yes, I think I know how to fix it and will discuss it in the comments of this issue
Terms