From 135a4959076488fa4867e6353e761222d9147cce Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 02:07:20 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/components/forms/custom-form-builder.tsx | 105 ++++++++++++------- 1 file changed, 65 insertions(+), 40 deletions(-) diff --git a/src/components/forms/custom-form-builder.tsx b/src/components/forms/custom-form-builder.tsx index bdaccfc..d9c9db9 100644 --- a/src/components/forms/custom-form-builder.tsx +++ b/src/components/forms/custom-form-builder.tsx @@ -773,47 +773,72 @@ export function CustomFormBuilder() {
- - -
- -

Click to insert at cursor.

-
-
- - setSearch(e.target.value)} - className="pl-8 h-8 text-xs" - /> -
- -
- {filteredVars.map((v) => ( - - ))} - {customDefs.length === 0 && ( -

- Tip: define custom case fields in Settings → Custom case fields to use them here as {"{{custom.key}}"}. -

- )} +
+ + +
+ +

Click to insert at cursor.

- -
-
+
+ + setSearch(e.target.value)} + className="pl-8 h-8 text-xs" + /> +
+ +
+ {filteredVars.map((v) => ( + + ))} + {customDefs.length === 0 && formFields.length === 0 && ( +

+ Tip: define fillable fields below, or custom case fields in Settings → Custom case fields. +

+ )} +
+
+ + + + + +
+ + +
+ + + +
+
+