rjsf-team/react-jsonschema-form
Field id displayed in the error message in place of its title
已關閉
#5,134 建立於 2026年6月26日
bughelp 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
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
- Go to the playground shared link : link
- Click on the "Submit" button on the bottom of the form.
- 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