fix(formFieldComponent): fixed bug where all fields are display as required
Build and Push Docker image / build-and-push (push) Successful in 5m5s Details

This commit is contained in:
Valentin Kolb 2024-05-28 20:40:14 +02:00
parent c34fb29308
commit 56a86ac3be
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ const Wrapper = ({field, children}: {
children: ReactNode
}) => {
return <Stack gap={5}>
<Input.Label required component={"div"}>{field.label}</Input.Label>
<Input.Label required={field.required} component={"div"}>{field.label}</Input.Label>
{field.description && <>
<Input.Description component={"div"}>