Skip to content

Commit

Permalink
feat: add isSummaryStep property to BasicForm and FormStep interface
Browse files Browse the repository at this point in the history
simlarsen committed Jan 24, 2025

Unverified

This user has not yet uploaded their public signing key.
1 parent 092b858 commit 8cb64fb
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Common/UI/Components/Forms/BasicForm.tsx
Original file line number Diff line number Diff line change
@@ -118,8 +118,7 @@ const BasicForm: ForwardRefExoticComponent<any> = forwardRef(
{
id: "summary",
title: "Summary",
showIf: () => true,
fields: props.fields
isSummaryStep: true,
}
]
}
1 change: 1 addition & 0 deletions Common/UI/Components/Forms/Types/FormStep.ts
Original file line number Diff line number Diff line change
@@ -10,4 +10,5 @@ export interface FormStep<TEntity> {
id: string;
title: string;
showIf?: ((item: FormValues<TEntity>) => boolean) | undefined;
isSummaryStep?: boolean | undefined;
}

0 comments on commit 8cb64fb

Please sign in to comment.