rjsf-team/react-jsonschema-form
Recurring indexed titles in array items for themes other than core
Fechada
#4.011 aberto em 23 de dez. de 2023
bughelp wanted
Métricas do repositório
- Stars
- (13.175 estrelas)
- Métricas de merge de PR
- (Mesclagem média 3d 17h) (32 fundiu PRs em 30d)
Description
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?
mui
Version
5.15.1
Current Behavior
The indexed titles which are handed down from the array property to its children are recurring for non core themes. For example, in this playground, the title/label array-1 is being used at two places.
Expected Behavior
The indexed titles should not repeat, similar to how the core theme works.
Steps To Reproduce
- Head to the playground example
- Notice that
array-1title/label is being repeated for both the first and second index
Environment
- Chrome: 120.0.6099.71
Anything else?
This is happening after a recent https://github.com/rjsf-team/react-jsonschema-form/pull/4002 PR. The indexed titles were taken care of for the core theme and are required for other themes as well.