Components

JsonSchemaForm

<JsonSchemaForm schema onChange enumSelectThreshold initialValues initialValid children renderLabel />

Constructor

# <JsonSchemaForm schema onChange enumSelectThreshold initialValues initialValid children renderLabel />

Context for handling a JSONSchema form.

PropTypes:
Name Type Required Description Default
schema object Yes JSON Schema form description object
onChange func No Callback when the values have changed () => {}
enumSelectThreshold number No Threshold to switch between RadioGroup and Select for enum fields 4
initialValues object No Initial values for the form fields {}
initialValid bool No Specifies whether the form is initially valid true
children node Yes Components rendered within this context
renderLabel func No Function to render a given label. label => label

View Source components/jsonSchema/form.js, line 15