rjsf-team/react-jsonschema-form

Field id displayed in the error message in place of its title

Geschlossen

#5.134 geöffnet am 26.06.2026

 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)TypeScript (2.136 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (13.175 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 3T 17h) (32 gemergte PRs in 30 T)

Beschreibung

Prerequisites

What theme are you using?

core

Version

6.6.2

Current Behavior

Hello, I've noticed that, in some cases where constraints (such as “required”) are defined in "allOf" or "If/Then/Else" the error message displayed shows the field ID instead of its title.

Expected Behavior

The error message displayed below the field and at the top of the form should show the field's title rather than its ID.

Steps To Reproduce

  1. Go to the playground shared link : link
  2. Click on the "Submit" button on the bottom of the form.
  3. The error message displayed below the field and at the top of the form shows the field ID ("animal") instead of its title ("My animal").

Environment

- OS: Windows 11
- Node: 22.14
- npm: 10.9.2

Anything else?

No response

Contributor Guide