Logo Questions Linux Laravel Mysql Ubuntu Git Menu

Where is the datepicker in material ui next?

I am try use next branch of material ui https://github.com/callemall/material-ui/tree/next. Because i want use layout component. But i can not find DatePicker component! How use DatePicker in next branch?

import {DatePicker} from 'material-ui'

WARNING in ./app/Resources/js/components/FormConstructor/Field.js 208:47-57 "export 'DatePicker' was not found in 'material-ui'

like image 588
Максим Барулин Avatar asked Nov 26 '22 02:11

Максим Барулин

2 Answers

Firstly, I am in the same boat. And I dearly miss the DatePicker from the stable release of material-ui (dated 10/04/2018). I too upgraded to the @next, at the moment at v1.0.0-beta.41 and reached the state of shock to not have found the elegant DatePicker.

This is what I have noticed and now changing to -


It has a date picker, which is actually based out of the TextField component having the type set to "date". Copying as is -

      shrink: true,

A small suggestion would be to check if the path exists under the local node_modules. You can also quickly check the component catalogue (at https://material-ui-next.com/) for the version you are using.

Hope this helps.

like image 113
Zeena Avatar answered Nov 29 '22 03:11


At the moment to write this answer (2017-06-12) it's still not supported. See https://material-ui-1dab0.firebaseapp.com/getting-started/supported-components

like image 38
David Avatar answered Nov 29 '22 03:11