rjsf-team/react-jsonschema-form
Ver no GitHubValidation-only logic applied via `oneOf`/`anyOf` should not try to render fields
Open
#4.574 aberto em 21 de abr. de 2025
any-one-all-ofbughelp wanted
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- 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