From 6894951020d6e71cb2d5de9edc445246355a5de2 Mon Sep 17 00:00:00 2001 From: Chisomchima Date: Mon, 25 Nov 2024 09:58:20 +0100 Subject: [PATCH] fix: prevent indicator types from using attributes --- src/pages/indicatorTypes/Edit.tsx | 1 + src/pages/indicatorTypes/New.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pages/indicatorTypes/Edit.tsx b/src/pages/indicatorTypes/Edit.tsx index da6b6f5f..4b395c31 100644 --- a/src/pages/indicatorTypes/Edit.tsx +++ b/src/pages/indicatorTypes/Edit.tsx @@ -38,6 +38,7 @@ export const Component = () => { section={section} initialValues={indicatorTypeQuery.data} validate={validate} + includeAttributes={false} > diff --git a/src/pages/indicatorTypes/New.tsx b/src/pages/indicatorTypes/New.tsx index b1e55ac9..91130e55 100644 --- a/src/pages/indicatorTypes/New.tsx +++ b/src/pages/indicatorTypes/New.tsx @@ -14,6 +14,7 @@ export const Component = () => { initialValues={initialValues} onSubmit={useOnSubmitNew({ section })} validate={validate} + includeAttributes={false} >