From dae34a3ae264ece0b770c84af31bde7ef851c432 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 17:32:34 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/components/forms/custom-form-builder.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/forms/custom-form-builder.tsx b/src/components/forms/custom-form-builder.tsx index e3c993b..8b837d3 100644 --- a/src/components/forms/custom-form-builder.tsx +++ b/src/components/forms/custom-form-builder.tsx @@ -1192,6 +1192,11 @@ export function CustomFormBuilder() { description: d.label + (d.description ? ` — ${d.description}` : ""), kind: "custom" as const, })), + ...clientCustomDefs.map((d) => ({ + key: `{{client.custom.${d.key}}}`, + description: `Client: ${d.label}` + (d.description ? ` — ${d.description}` : ""), + kind: "client-custom" as const, + })), ...formFields.map((f) => ({ key: `{{field.${f.key}}}`, description: `${f.label} (${f.type})`, @@ -1203,7 +1208,7 @@ export function CustomFormBuilder() { v.key.toLowerCase().includes(search.toLowerCase()) || v.description.toLowerCase().includes(search.toLowerCase()), ); - }, [customDefs, formFields, search]); + }, [customDefs, clientCustomDefs, formFields, search]); const filteredCases = useMemo(() => { const s = caseSearch.toLowerCase();