Skip to content

Commit a5578ac

Browse files
committed
fix: allow global filter to filter numbers
Fixes #4124
1 parent c1533dc commit a5578ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/table-core/src/features/Filters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export const Filters: TableFeature = {
178178
.flatRows[0]?._getAllCellsByColumnId()
179179
[column.id]?.getValue()
180180

181-
return typeof value === 'string'
181+
return typeof value === 'string' || typeof value === 'number'
182182
},
183183
}
184184
},

0 commit comments

Comments
 (0)