mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
fix: Table filter menu reset not working (#22079)
* fix: Table filter menu reset not working * use setFilteredKeysSync
This commit is contained in:
parent
5787f3e8b2
commit
924f1cfd3a
@ -140,6 +140,7 @@ function FilterDropdown<RecordType>(props: FilterDropdownProps<RecordType>) {
|
||||
};
|
||||
|
||||
const onReset = () => {
|
||||
setFilteredKeysSync([]);
|
||||
internalTriggerFilter([]);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user