-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Just a suggestion as rjsf doesn't make it obvious.
I'm using the form inside my Wizard component like this:
<JSForm
schema={modelParametersSchema}
formData={modelParameters}
onChange={(e) => {
setModelParameters(e.formData)
setModelParametersComplete(e.errors.length === 0)
}}
liveValidate
>
<></>
</JSForm>
The <></> is the only way to hide the submit button (see rjsf-team/react-jsonschema-form#1602 for discussion).
Maybe we could have a hideButton prop or hide it when onSubmit isn't provided.
ayushagg31
Metadata
Metadata
Assignees
Labels
No labels