Open brianlaw033 opened 5 months ago
Ah, we are spreading in the @rjsf/mui
theme, and clearly we aren't removing those two properly. I'll push a fix and soon.
Facing exactly same issue with version 5.19.4. Seems bug was fixed in 5.18.0?
Warning: React does not recognize the `errorSchema` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `errorschema` instead. If you accidentally passed it from a parent component, remove it from the DOM element.\
Warning: Invalid DOM property `autocomplete`. Did you mean `autoComplete`?
@thaikoh Can you provide an example using the a shared playground link that highlights this. Thanks!
Prerequisites
What theme are you using?
mui
Version
5.17.1
Current Behavior
Warning: React does not recognize the 'errorSchema' prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase 'errorschema' instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Warning: Invalid DOM property 'autocomplete'. Did you mean 'autoComplete'?
I am getting these warnings when using
Form
imported from"@rjsf/mui"
when havinganyOf
oroneOf
with typeobject
Sample Schema
Expected Behavior
No warnings, like using Normal
Form
from"@rjsf/core"
Steps To Reproduce
Environment
Anything else?