Skip to content

Commit

Permalink
fix(table): fix table filter error (#1513)
Browse files Browse the repository at this point in the history
Co-authored-by: maxin <maxin@growingio.com>
  • Loading branch information
nnmax and maxin committed Nov 23, 2021
1 parent 270d16e commit a3bde92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table/FilterList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface FilterListProps {
const FilterList = ({ prefixCls, value, onChange, dataSource }: FilterListProps) => (
<List
className={`${prefixCls}-filter-list`}
value={value?.toString()}
value={value?.map((item) => `${item}`)}
model="multiple"
onChange={(changedKeys) => {
if (!changedKeys) {
Expand Down

1 comment on commit a3bde92

@vercel
Copy link

@vercel vercel bot commented on a3bde92 Nov 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.