formsy / formsy-material-ui

A Formsy compatibility wrapper for Material-UI form components
MIT License
571 stars 149 forks source link

FormsyDate and FormsyTime don't handle value argument properly #244

Closed g0dzill3r closed 6 years ago

g0dzill3r commented 6 years ago

Using the value={} property doesn't behave properly in initializing the value of the date and time picker. It results in a :Uncaught (in promise) TypeError: Cannot read property '_currentElement' of null:

Using the underlying DatePicker or TimePicker with the same arguments works properly.

screen shot 2017-12-24 at 1 37 02 pm