rjsf-team/react-jsonschema-form

Validation-only logic applied via `oneOf`/`anyOf` should not try to render fields

オープン

#4,574 opened on 2025/04/21

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (2,136 件のフォーク)batch import
any-one-all-ofbughelp wanted

Repository metrics

Stars
 (13,175 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Prerequisites

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:

Image

Playground Link

Expected Behavior

Only one field is rendered

Steps To Reproduce

No response

Environment

Anything else?

No response

コントリビューターガイド