Skip to content
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

Import MuiPickersUtilsProvider missing after migrating to material-ui-pickers v1 from rc17 #37

Open
blamze opened this issue Oct 28, 2019 · 5 comments

Comments

@blamze
Copy link

blamze commented Oct 28, 2019

After bumping material-ui-pickers to v1 from rc17, MuiPickersUtilsProvider import changes.

V1 has breaking changes
https://github.com/mui-org/material-ui-pickers/releases/tag/v1.0.0

https://prnt.sc/pp2c81

-import MuiPickersUtilsProvider from 'material-ui-pickers/utils/MuiPickersUtilsProvider'
+import MuiPickersUtilsProvider from 'material-ui-pickers/MuiPickersUtilsProvider'

@NikitaVlaznev
Copy link

NikitaVlaznev commented Nov 14, 2019

It was fixed but reverted somewhy here:

86df90b#r35946326

@TomasVink
Copy link

watching this one

@x5engine
Copy link

@TomasVink watching with you :D nice movie tho

@andrekutianski
Copy link

It seems that this had been fixed in the merge but for some reason, the master had the wrong line again

var _MuiPickersUtilsProvider = require('material-ui-pickers/utils/MuiPickersUtilsProvider');

It seems that this project is completely abandoned and out of date. It is a pity that react-admin continues to depend on and recommend this repo to solve the date format (!!!)

@chichilatte
Copy link

chichilatte commented Apr 8, 2022

A kindly guy in Uruguay, @WiXSL, seems to be keeping this project alive...

https://github.com/WiXSL/react-admin-date-inputs#mui-pickers-v3

I added it to my project like so:

yarn add WiXSL/react-admin-date-inputs#3e6eee7

(apparently it's advisable to use specific commits in your package.json when adding git repos)

You're probably best forking it yourself, in case he deletes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants