From 56a86ac3be633636409d2b2d1160f384bf6f43e7 Mon Sep 17 00:00:00 2001 From: valentinkolb Date: Tue, 28 May 2024 20:40:14 +0200 Subject: [PATCH] fix(formFieldComponent): fixed bug where all fields are display as required --- src/components/formUtil/FromInput/formFieldComponents.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/formUtil/FromInput/formFieldComponents.tsx b/src/components/formUtil/FromInput/formFieldComponents.tsx index 1caeffe..c70a751 100644 --- a/src/components/formUtil/FromInput/formFieldComponents.tsx +++ b/src/components/formUtil/FromInput/formFieldComponents.tsx @@ -135,7 +135,7 @@ const Wrapper = ({field, children}: { children: ReactNode }) => { return - {field.label} + {field.label} {field.description && <>