From 891fc769d1392ea7ad3810d3731a640d7ed9334e Mon Sep 17 00:00:00 2001 From: Harshil Shah Date: Mon, 30 Dec 2024 13:01:04 +0530 Subject: [PATCH] preventDefault added for Apply filter button --- .../additional-filters-drawer.component.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thirdeye-ui/src/app/components/additional-filters-drawer/additional-filters-drawer.component.tsx b/thirdeye-ui/src/app/components/additional-filters-drawer/additional-filters-drawer.component.tsx index af94d2735c..0487004133 100644 --- a/thirdeye-ui/src/app/components/additional-filters-drawer/additional-filters-drawer.component.tsx +++ b/thirdeye-ui/src/app/components/additional-filters-drawer/additional-filters-drawer.component.tsx @@ -58,7 +58,8 @@ export const AdditonalFiltersDrawer: FunctionComponent { + const onSubmit = (e: React.FormEvent): void => { + e.preventDefault(); onApply(localCopyOfProperties); };