Closed A973C closed 3 years ago
Hello,
Are you asking how do you set the selected date of a datepicker object through code, rather than having the user select a date?
If so the methods you want to use are setFullDate(), setDate(), setMonth() or setYear().
The documentation for this project should help you use these: https://mcdatepicker.netlify.app/docs/methods#setfulldate
I'm searching a way to highlight current day (done by default, ok) and user selected day (my question). The 'selectedDate' parameter seems to be the answer but I don't know what to do with it.
Could you help me, please?