From 8fe1d8f8e7ab911af9eb7ea2684d994ee0621e22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Poul=20Kjeldager=20S=C3=B8rensen?= Date: Thu, 3 Oct 2024 06:49:00 +0200 Subject: [PATCH] fix: typo in name --- .../src/Components/Views/QuickFormEndingSettingsView.tsx | 8 ++++---- .../src/Components/Views/QuickFormIntroSettingsView.tsx | 8 ++++---- .../src/Components/Views/QuickFormSubmitSettingsView.tsx | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) 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: {