3.0.0-MUI-4 - Stable Release
This release marks final support for MUI 4
- From next release onwards we will be supporting MUI 5 as released by Material UI
npm install --save react-jsonschema-form-material-ui@3.0.0-mui-4
Features:
- This minor release adds support for Material UI Autocomplete Component.
- Some bug fixes on array schema types.
Next Releases
- Next release onwards we will move to
beta.x
followed byrc.x
to finalize3.0.0
- Support for Material UI 5 - Autocomplete will be included in future pre-releases tagged
-mui-5
similar previous example release.
Demo URL: https://react-jsonschema-form-material-ui.github56.now.sh
Example Usage:
- Form Schema
{
"title": "Auto Complete example",
"description": "Example demo for Material UI Autocomplete component usage",
"type": "object",
"properties": {
"auto-complete": {
"type": "string", // For multi-select this can be "array"
"title": "Example Auto Complete",
"enum": [
"Yes",
"No"
]
}
}
}
- UI Schema
{
"auto-complete": {
"ui:widget": "material-auto-complete",
"ui:props": { // Available props support come from https://material-ui.com/api/autocomplete/#props
"disableClearable": false
}
}
}
- Form Data
{}
Previously
3.00-alpha.12
- This release has a big refactor to modularise most of logic used in react-jsonschema using xstate.
- This release also introduces a new feature to provide error messages in xhrSchema based on status codes inside
ui:errors
Example:
"ui:errors": {
"offline": {
"title": "You are Offline !",
"message": "Please try again once you are online."
},
"500": {
"title": "Internal Server Error",
"message": "My error description"
}
}
3.0.0-alpha.9
This Minor release does not have any features but 2 small package updates
- Update on Material pickers with support for react 17.
- Update on React-slate resolves pending vulnerabilities by replacing emotion with styled components.
Now source code is slowly migrating towards typescript with support of jest for running unit tests.
3.0.0-alpha.6
- Demo updated with vscode editor and live validation changes
- New interceptors to transform form and uiData using uiSchema -
ui:interceptor
- New
xhrSchema
feature enabled to make xhr calls onload, onsubmit and onclick to consume or post data type: null
support included for custom div support- New Tabs and Stepper UI using
ui:page
->"ui:layout": "tabs"
- Integration tests enabled with browserstack
- Support for latest version of
Material UI 4
- Support for latest version of
Nextjs 10
andreact 17
Demo URL: https://react-jsonschema-form-material-ui-github56.vercel.app