Skip to content

Commit

Permalink
Fix resetting does not clear form (#17217)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ajay authored Oct 27, 2021
1 parent b7e7ef2 commit 743f4b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export function FiltersConfigModal({
const initialFilterHierarchy = getInitialFilterHierarchy();
setFilterHierarchy(initialFilterHierarchy);
setOrderedFilters(buildFilterGroup(initialFilterHierarchy));
form.resetFields();
form.resetFields(['filters']);
}
form.setFieldsValue({ changed: false });
};
Expand Down

0 comments on commit 743f4b6

Please sign in to comment.