Releases: vip-git/universal-json-schema
Releases · vip-git/universal-json-schema
Extensibility: Custom components enabled
Component extensibility enabled for jsonschema.
Following example
Schema.json
{
"title": "A registration form",
"description": "A simple form example.",
"type": "object",
"properties": {
"customRating": {
"type": "integer",
"title": "Custom Rating",
"component": "customRating"
},
}
}
Then mounting your JSON Schema Form with given name definition inside props components
<Form
schema={schema}
uiSchema={uiSchema}
formData={formData}
onCancel={onCancel}
onSubmit={onSubmit}
onUpload={onUpload}
onChange={onFormChanged}
components={{
customRating: ({ onChange }) => (
<CustomRating onChange={onChange} formData={formData} />
),
}}
submitOnEnter
activityIndicatorEnabled
/>
Formdata.json
{
"customRating": 3
}
Running Example
Detailed Docs :
Stable Release
2.0.21 Update README.md
Node Engine compatibility removed
1.0.101 1.0.101
Stable release with text-editor improvements
1.0.99 1.0.99
Stable Release
New components integrated
- Material UI Date / time picker
- Material UI Multi-selecbox
- Creatable multi selectbox
- Component active / inactive
- Rich Text Editor
Latest Material UI version updated
2.0.0 fix: removing package-lock