vascofg / react-admin-date-inputs

Date Inputs for react-admin
MIT License
68 stars 78 forks source link

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

Open blamze opened 5 years ago

blamze commented 5 years ago

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 commented 5 years ago

It was fixed but reverted somewhy here:

https://github.com/vascofg/react-admin-date-inputs/commit/86df90be159faffa6ba2823037f73c6fdc3bf2b6#r35946326

TomasVink commented 4 years ago

watching this one

x5engine commented 4 years ago

@TomasVink watching with you :D nice movie tho

andrekutianski commented 3 years ago

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

https://github.com/vascofg/react-admin-date-inputs/blob/d07734bc2c412cdc2b0caf83bcd8074ee1dea9a2/lib/index.js#L28

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 commented 2 years ago

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.