react-admin-date-inputs
react-admin-date-inputs copied to clipboard
Import MuiPickersUtilsProvider missing after migrating to material-ui-pickers v1 from rc17
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'
It was fixed but reverted somewhy here:
https://github.com/vascofg/react-admin-date-inputs/commit/86df90be159faffa6ba2823037f73c6fdc3bf2b6#r35946326
watching this one
@TomasVink watching with you :D nice movie tho
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 (!!!)
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.