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

Author: nickgrosCreated Apr 21, 2025Updated Sep 3, 2026
Labelsbughelp wantedany-one-all-of

Prerequisites

What theme are you using?

core

Version

5.x

Current Behavior

The spec has the following schema as an example:

json
{
  "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

markdown

Anything else?

No response

Source: rjsf-team/react-jsonschema-form