Playground Link: https://react-jsonschema-form-material-ui.github56.now.sh/#numbers****
{% code title="FormSchema.json" %}
{
"title": "A registration form",
"description": "A simple form example.",
"type": "object",
"properties": {
"integerRange": {
"title": "Integer range",
"type": "integer"
}
}
}
{% endcode %}
{% code title="UISchema.json" %}
{
"integerRange": {
"ui:validations": {
"minimum": {
"value": 42,
"message": "Integer should be in range between 42 and 100",
"inline": true
}
"maximum": {
"value": 100,
"message": "Integer should be in range between 42 and 100",
"inline": true
}
}
}
}
{% endcode %}