material-react-table 0.26.6 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,7 @@ import {
20
20
  prepareColumns,
21
21
  getAllLeafColumnDefs,
22
22
  getDefaultColumnOrderIds,
23
+ getDefaultColumnFilterFn,
23
24
  } from '../column.utils';
24
25
  import { MRT_FilterFns } from '../filtersFns';
25
26
  import type {
@@ -114,7 +115,7 @@ export const MRT_TableRoot = <TData extends Record<string, any> = {}>(
114
115
  initialState?.currentFilterFns?.[
115
116
  col.id?.toString() ?? col.accessorKey?.toString() ?? ''
116
117
  ] ??
117
- (!!col.filterSelectOptions?.length ? 'equals' : 'fuzzy'),
118
+ getDefaultColumnFilterFn(col),
118
119
  }),
119
120
  ),
120
121
  ),