Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 17:32:34 +00:00
co-authored by renee-png
parent f5517df765
commit dae34a3ae2
+6 -1
View File
@@ -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();