-
Notifications
You must be signed in to change notification settings - Fork 833
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
TypeError: Object(...) is not a function #1025
Comments
Please update also material-ui to beta.1. It is required |
Or use material-you-pickers 2.2.4. We moved from the old repo to this one |
@dmtrKovalenko I'm using beta.1 and I'm having the same issue. |
Can you then make a reproduction on codesandbox? |
|
@jmmccota You are using material-ui 3.9.2. For |
@dmtrKovalenko very interesting.... After change worked. I think the same issue occur for @sanggonlee. Where mention is made in the documentation of the need to use material 4 or superior? |
In ReadMe, release notes and upgrading to v3 guide. We moved to new bpm packages 3 days ago |
Can confirm it works after upgrading material-ui. Thank you. |
So at this point is there no way to use the last table v2 release? EDIT: Sorry, I missed this: https://www.npmjs.com/package/material-ui-pickers |
You should mention requiring material-ui v4 more prominently. |
Material ui v4 is already released |
I agree with @nickperkinslondon. Even noting that Material UI v4 is required in the README and having a quick link back to the old material-ui-pickers repo for those that don't want to be forced into an update would save a lot of headache. As is this issue is the first place that I found it mentioned that v4 was required. It also doesn't help the confusion that the page for the latest version of material-ui-pickers is linked to directly from the v3.9.0 Material UI pickers docs, which seems like a strong endorsement that the linked version would work with Material UI v3.9.0. I'd be happy to make a PR for the Readme change, if that would be supported. |
I am getting this error from my DatePicker component: Everything worked on Material-ui/core 4.5.1 but I upgraded to 4.8.3 and started receiving this error. Here are the versions of my relevant packages: |
Environment
Steps to reproduce
Expected behavior
Nothing should happen by just importing
Actual behavior
Getting this error
I have a feeling this might be something on my end rather than a bug, since it's such a basic case and no one seems to have reported, but I'm following the install instruction exactly and really can't figure out what I could be possibly doing wrong.
The text was updated successfully, but these errors were encountered: