react-jsonschema-form
react-jsonschema-form copied to clipboard
Validation-only logic applied via `oneOf`/`anyOf` should not try to render fields
Prerequisites
- [x] I have searched the existing issues
- [x] I understand that providing a SSCCE example is tremendously useful to the maintainers.
- [x] I have read the documentation
- [x] Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
core
Version
5.x
Current Behavior
The spec has the following schema as an example:
{
"oneOf": [
{
"type": "number",
"multipleOf": 5
},
{
"type": "number",
"multipleOf": 3
}
]
}
The following is rendered:
Expected Behavior
Only one field is rendered
Steps To Reproduce
No response
Environment
Anything else?
No response