-
Notifications
You must be signed in to change notification settings - Fork 2.2k
BaseInputTemplate fails to forward props to child #4535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It looks like in MUI v5, we need to use the @abdalla-rko would you be able to fix this breaking change in In RJSF v6, we will require MUI v7 and drop support for MUI v5 and v6, so we can use the |
I'm seeing this too. Noting to get updates. |
Thanks! |
This is great. Can you post here when it's pushed to |
Prerequisites
What theme are you using?
mui
Version
5.24.3
Current Behavior
Commit 70d7c73 changed
BaseInputTemplate
in a way that's causing me errors. As of that commit I started getting this error in my console:I don't fully understand the error, but it seems like it's trying to apply
slotProps
from here directly onto a regular HTML element, and failing. The side-effect of this I've run into is HTML5 validation is broken on Input fields; a field withminimum
andmaximum
settings in the schema doesn't havemin
/max
attributes in the DOM:Expected Behavior
Prior to the mentioned commit, I wouldn't get the error about
slotProps
, and the HTML element would be:Steps To Reproduce
Unfortunately I'm not sure, I'm unable to reproduce this in the playground, so it may be something subtle I've messed up in my usage, but I'm not doing anything exciting:
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: