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:
@@ -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}
|
||||
/>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user