From d8f637e7f4c3383a028554c56b48d75d4aed988e Mon Sep 17 00:00:00 2001 From: QUBITABHAY Date: Sun, 22 Mar 2026 23:28:18 +0530 Subject: [PATCH] feat: excluding page breaks in flow mode --- .../BuilderCore/Flow/FlowFormBuilder.tsx | 2 +- .../BuilderCore/Single/SinglePageFormBuilder.tsx | 2 +- .../BuilderCore/shared/FieldPalette.tsx | 15 ++++++++++++--- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/components/BuilderCore/Flow/FlowFormBuilder.tsx b/src/components/BuilderCore/Flow/FlowFormBuilder.tsx index ec01892..ebf57cd 100644 --- a/src/components/BuilderCore/Flow/FlowFormBuilder.tsx +++ b/src/components/BuilderCore/Flow/FlowFormBuilder.tsx @@ -213,7 +213,7 @@ export default function FlowFormBuilder({ onDragStart={handleDragStart} onDragEnd={handleDragEnd} > - + - + t.type !== "page_break") + : FIELD_TEMPLATES; + return (

Form Fields

@@ -43,7 +52,7 @@ export default function FieldPalette() { Drag fields to build your form

- {FIELD_TEMPLATES.map((template) => ( + {filteredTemplates.map((template) => ( ))}