fix(formFieldComponent): fixed bug where all fields are display as required
Build and Push Docker image / build-and-push (push) Successful in 5m5s
Details
Build and Push Docker image / build-and-push (push) Successful in 5m5s
Details
This commit is contained in:
parent
c34fb29308
commit
56a86ac3be
|
@ -135,7 +135,7 @@ const Wrapper = ({field, children}: {
|
||||||
children: ReactNode
|
children: ReactNode
|
||||||
}) => {
|
}) => {
|
||||||
return <Stack gap={5}>
|
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 && <>
|
{field.description && <>
|
||||||
<Input.Description component={"div"}>
|
<Input.Description component={"div"}>
|
||||||
|
|
Loading…
Reference in New Issue