Skip to content

Commit

Permalink
Fix resetting does not clear form
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ajay committed Oct 25, 2021
1 parent 4f1d202 commit 6315821
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 6315821

Please sign in to comment.