Skip to content

Commit

Permalink
fix: prevent indicator types from using attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chisomchima committed Nov 25, 2024
1 parent 1b5286f commit 6894951
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/indicatorTypes/Edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const Component = () => {
section={section}
initialValues={indicatorTypeQuery.data}
validate={validate}
includeAttributes={false}
>
<DefaultNewFormContents section={section}>
<IndicatorTypesFormFields />
Expand Down
1 change: 1 addition & 0 deletions src/pages/indicatorTypes/New.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const Component = () => {
initialValues={initialValues}
onSubmit={useOnSubmitNew({ section })}
validate={validate}
includeAttributes={false}
>
<DefaultNewFormContents section={section}>
<IndicatorTypesFormFields />
Expand Down

0 comments on commit 6894951

Please sign in to comment.