-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Default values not set inside allOf #3892
Comments
@magaton Looks like you found another limitation in our |
I'd rather keep my qa / user tester hat since I am not a React or front-end developer. Maybe you could state what exactly needs to be done, so somebody can pick it up easier? |
Basically our |
Hi @heath-freenome , |
Thanks for your help, I use allOf and have the same issue. I would like to subscibe this issue. |
This is a duplicate of my issue: #3832 As there is no response in my thread, I am hijacking this one. I've managed to debug the reason why this happens. As an temporary fix we created our own fork with the fix and we patch the package to have this functionality as we rely heavily on The fix has performance implications, from our internal testing |
@MarekBodingerBA Sorry we missed responding to your original issue. Given the solution causes a performance degradation, we definitely would not want to add it as the default behavior. We would definitely be open to adding it as an opt-in feature via a new |
@heath-freenome I went ahead and threw all this in a PR. Had some questions about the configuration schema, but seems to fix this issue and my previous issue which turned out to be a duplicate. |
Prerequisites
What theme are you using?
mui
Version
5.x
Current Behavior
Default values are not set inside
allOf
Expected Behavior
The default values should be set
Steps To Reproduce
playground link
Environment
Anything else?
This is kind of similar to the previously reported issue and pull request that should have fixed the same problem inside
oneOf
andanyOf
.The text was updated successfully, but these errors were encountered: