CalendarPicker icon indicating copy to clipboard operation
CalendarPicker copied to clipboard

How to use handleOnPressDay to select a different date in different month

Open wthushan01 opened this issue 3 years ago • 2 comments

I tried using handleOnPressDay and only thing I could do was selecting a date of the current month. Can I use handleOnPressDay function to select a different date of a different month. If so, can someone please give me an example.

wthushan01 avatar Apr 28 '21 06:04 wthushan01

handleOnPressDay should select a date on any month. However it may not change the visible month which is usually expected. To test this, use the method to select another month's date, then manually navigate to that month to see if it's selected. PR's are welcome. I encourage you to dive into the code and find a fix. This one should be straight-forward.

peacechen avatar Apr 28 '21 13:04 peacechen