rjsf-team/react-jsonschema-form
Validation-only logic applied via `oneOf`/`anyOf` should not try to render fields
開放
#4,574 建立於 2025年4月21日
any-one-all-ofbughelp wanted
倉庫指標
- 星標
- (13,175 顆星)
- PR 合併指標
- (平均合併 3天 17小時) (30 天內合併 32 個 PR)
描述
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