digital-form-builder icon indicating copy to clipboard operation
digital-form-builder copied to clipboard

Allow editing of confirmation page

Open jenbutongit opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. The designer does not have an interface for editing the confirmation page, however it is editable/customisable via JSON (#573)

Describe the solution you'd like Add an edit confirmation page to the designer.

This is the type definition of a confirmation page.

type Toggleable<T> = boolean | T;

 type ConfirmationPage = {
   customText: {
     title: string;
     paymentSkipped: Toggleable<string>;
     nextSteps: Toggleable<string>;
   };
   components: ComponentDef[];
 };

 export type SpecialPages = {
   confirmationPage?: ConfirmationPage;
 };

Each of these properties must be editable

Describe alternatives you've considered

Additional context

jenbutongit avatar Dec 09 '21 15:12 jenbutongit

https://github.com/XGovFormBuilder/digital-form-builder/pull/700 This has been partly competed, designer still needs an edit part.

adamdavies1 avatar Jan 27 '22 11:01 adamdavies1