diff --git a/packages/designer/src/Components/Views/QuickFormEndingSettingsView.tsx b/packages/designer/src/Components/Views/QuickFormEndingSettingsView.tsx index 817dabd..0bf1963 100644 --- a/packages/designer/src/Components/Views/QuickFormEndingSettingsView.tsx +++ b/packages/designer/src/Components/Views/QuickFormEndingSettingsView.tsx @@ -16,11 +16,11 @@ import { QuickformDesignerFields } from "./QuickFormQuestionsView"; const endingSlideSchema = { label: "Ending Settings", uiSchema: { - text: "QF_EndingSideTextField" in QuickformDesignerFields ? ({ - "ui:field": "QF_EndingSideTextField" + text: "QF_EndingSlideTextField" in QuickformDesignerFields ? ({ + "ui:field": "QF_EndingSlideTextField" }) : ({}), - paragraph: "QF_EndingSideParagraphField" in QuickformDesignerFields ? ({ - "ui:field": "QF_EndingSideParagraphField" + paragraph: "QF_EndingSlideParagraphField" in QuickformDesignerFields ? ({ + "ui:field": "QF_EndingSlideParagraphField" }) : ({}), }, schema: { diff --git a/packages/designer/src/Components/Views/QuickFormIntroSettingsView.tsx b/packages/designer/src/Components/Views/QuickFormIntroSettingsView.tsx index 9f2b0ed..3dca628 100644 --- a/packages/designer/src/Components/Views/QuickFormIntroSettingsView.tsx +++ b/packages/designer/src/Components/Views/QuickFormIntroSettingsView.tsx @@ -16,14 +16,14 @@ const introSlideSchema = { uiSchema: { text: { - ... "QF_IntroSideTextField" in QuickformDesignerFields ? ({ - "ui:field": "QF_IntroSideTextField" + ... "QF_IntroSlideTextField" in QuickformDesignerFields ? ({ + "ui:field": "QF_IntroSlideTextField" }) : ({}), "ui:help": "The headline displayed to the end user when first loading the form" }, paragraph: { - ... "QF_IntroSideParagraphField" in QuickformDesignerFields ? ({ - "ui:field": "QF_IntroSideParagraphField" + ... "QF_IntroSlideParagraphField" in QuickformDesignerFields ? ({ + "ui:field": "QF_IntroSlideParagraphField" }) : ({}), "ui:help": "The text displayed to the end user when first loading the form" }, diff --git a/packages/designer/src/Components/Views/QuickFormSubmitSettingsView.tsx b/packages/designer/src/Components/Views/QuickFormSubmitSettingsView.tsx index 1924672..3dbffca 100644 --- a/packages/designer/src/Components/Views/QuickFormSubmitSettingsView.tsx +++ b/packages/designer/src/Components/Views/QuickFormSubmitSettingsView.tsx @@ -17,13 +17,13 @@ const submitSlideSchema = { label: "Ending Settings", uiSchema: { text: { - ... "QF_SubmitSideTextField" in QuickformDesignerFields ? ({ - "ui:field": "QF_SubmitSideTextField" + ... "QF_SubmitSlideTextField" in QuickformDesignerFields ? ({ + "ui:field": "QF_SubmitSlideTextField" }) : ({}), }, paragraph: { - ... "QF_SubmitSideParagraphField" in QuickformDesignerFields ? ({ - "ui:field": "QF_SubmitSideParagraphField" + ... "QF_SubmitSlideParagraphField" in QuickformDesignerFields ? ({ + "ui:field": "QF_SubmitSlideParagraphField" }) : ({}), }, submitFields: {