Open antonioribeiro opened 5 years ago
When setting selectedDate and hilightedDate as custom dates nothing works, I mean, it does not open the picker modal:
selectedDate
hilightedDate
this.datePicker.setState({ selectedDate: new Date('2013/01/01'), hilightedDate: new Date('2013/01/01'), }) this.datePicker.open()
But if I use now() as the selectedDate, it works fine:
this.datePicker.setState({ selectedDate: new Date(), hilightedDate: new Date('2013/01/01'), }) this.datePicker.open()
When setting
selectedDate
andhilightedDate
as custom dates nothing works, I mean, it does not open the picker modal:But if I use now() as the
selectedDate
, it works fine: