Skip to content

Commit

Permalink
fix: allow global filter to filter numbers
Browse files Browse the repository at this point in the history
Fixes #4124
  • Loading branch information
tannerlinsley committed Jul 13, 2022
1 parent c1533dc commit a5578ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/table-core/src/features/Filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export const Filters: TableFeature = {
.flatRows[0]?._getAllCellsByColumnId()
[column.id]?.getValue()

return typeof value === 'string'
return typeof value === 'string' || typeof value === 'number'
},
}
},
Expand Down

0 comments on commit a5578ac

Please sign in to comment.