im using the react version 2.2 of centric. i want to change the selected date of calander but the current day data is persisted. how do you handle to change the date, i did try to handle is on event but instead is using a different color (default of react-datepicker)?
Hi, sorry for the delay. I'm not sure to understand exactly the issue, the following examples allow to specify the selected date and in it seems to be working fine: <Datetime inputProps={{className: 'form-control'}} defaultValue={new Date(2020,6,1)}/>
Im using the react version 2.2 of […]
im using the react version 2.2 of centric. i want to change the selected date of calander but the current day data is persisted. how do you handle to change the date, i did try to handle is on event but instead is using a different color (default of react-datepicker)?
I'm not sure to understand exactly the issue, the following examples allow to specify the selected date and in it seems to be working fine:
<Datetime inputProps={{className: 'form-control'}} defaultValue={new Date(2020,6,1)}/>
Docs from: https://github.com/YouCanBookMe/react-datetime
Let me know if you have any question
Regards