rjsf-material-ui
rjsf-material-ui copied to clipboard
Remove duplicate messages

As seen in the screenshot, the same error messages are shown several times.
This happens in the error list on top of the form and under the element itself.
I haven't seen this problem on any other page (or with any other widget).
I have spent the last week with react-jsonschema-form and and rjsf-material-ui. Therefore I can tell, that this is part of react-jsonschema-form validation as stated here.
If you don't want the Errorlist above the form, just add showErrorList={false} as a property to the component.
It's not about showing the errors, it's about filtering out duplicate error messages.
As you can see in the screenshot above, the message .colorPalette[0] should be string is shown 4 times in the error box - this does not make sense.
My bad, I misunderstood your description. I would like to tackle this issue.
Thanks for the report! Anyway, this happens on react-jsonschema-form too.
So, @Benni2808 you also can send the proposal to react-jsonschema-form example repository.
But in addition to this, it's interesting to understand why when you use anyOf show duplicate messages.