From 72e2b745900175332f1cad1189550776bca00488 Mon Sep 17 00:00:00 2001 From: Remko Date: Fri, 7 Jun 2024 15:33:45 +0200 Subject: [PATCH] added partial name bool to boolean field --- .../templates/templateParts/schemaForm/SchemaFormTemplate.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pwa/src/templates/templateParts/schemaForm/SchemaFormTemplate.tsx b/pwa/src/templates/templateParts/schemaForm/SchemaFormTemplate.tsx index d1d2f8a3..6754d2ff 100644 --- a/pwa/src/templates/templateParts/schemaForm/SchemaFormTemplate.tsx +++ b/pwa/src/templates/templateParts/schemaForm/SchemaFormTemplate.tsx @@ -25,6 +25,7 @@ import { getIdFromObjectId } from "../../../services/getIdFromObjectId"; export type SchemaInputType = | "string" | "boolean" + | "bool" | "array" | "integer" | "int" @@ -289,7 +290,7 @@ const FormFieldGroup: React.FC = ({ /> )} - {type === "boolean" && ( + {(type === "boolean" || type === "bool") && (