chore: disabled and readonly props are optional from rjsf now, let's default them to something sane

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-06-27 11:58:20 +02:00
parent cc81579db2
commit 2defad94e3
@@ -44,6 +44,8 @@ export const Form = (props: PropsWithChildren<ScaffolderRJSFFormProps>) => {
uiSchema={wrapperProps.uiSchema ?? {}}
formData={wrapperProps.formData}
rawErrors={wrapperProps.rawErrors ?? []}
disabled={wrapperProps.disabled ?? false}
readonly={wrapperProps.readonly ?? false}
/>
);
},