-
Notifications
You must be signed in to change notification settings - Fork 90
Not able to render date picker component for MUI #1409
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
@YashM10 Are there any additional steps to reproduce the issue? I am able to render the form with the date picker. I used the schema you posted, and just added a parent |
I'm having the same issue. I have tried directly using the
|
So found out the issue here |
Also then we need to change the implementation of date pickers used everywhere else. |
OK Thanks for the details. I'll play around with the versions to reproduce the bug. I'll let you know ASAP.. |
@kelvingo935 @YashM10 OK I think the issue is with a duplicate version of the date pickers dependencies. DDF has the date picker as a dependency, not a peer dependency which probably resulted in a module resolution conflict and the date picker was not able to reach the parent context of Moving the date pickers to peer dependency and relaxing the version restrictions should do the trick. I'll do some more testing to exactly replicate your use cases. If all goes well I'll open a PR soon. |
Resolves issues with duplicate dependencies on yarn and relaxes the restriction of the package version. Fixes: #1409
Resolves issues with duplicate dependencies on yarn and relaxes the restriction of the package version. Fixes: #1409
Resolves issues with duplicate dependencies on yarn and relaxes the restriction of the package version. Fixes: #1409
A new version should be released soon. I'll keep the issue opened until I get thumbs up from you. |
🎉 This issue has been resolved in version 3.21.5 🎉 The release is available on |
Thank you for the update! |
scope: MUI
code:
error: Can not find utils in context. It looks like you forgot to wrap your component in LocalizationProvider, or pass dateAdapter prop directly.
The text was updated successfully, but these errors were encountered: