react-day-picker icon indicating copy to clipboard operation
react-day-picker copied to clipboard

SelectedDays not func

Open th3fallen opened this issue 9 years ago • 4 comments

in your examples, you pass an instance of new Date to selectedDays but when I do that I get an error that it expects a func?

am i missing something?

th3fallen avatar Mar 09 '17 16:03 th3fallen

👋 @th3fallen, which version are you using? Please upgrade to the latest to use Date objects in selectedDays.

gpbl avatar Mar 09 '17 16:03 gpbl

(doh) i was apparently on an older version, updating works as expected. sorry i should have checked before posting this...

th3fallen avatar Mar 09 '17 16:03 th3fallen

no problem 😁

gpbl avatar Mar 09 '17 16:03 gpbl

in order to use SelectedDays on DayPickerInput, what version of daypicker supports this?

sweetaprospa avatar Oct 14 '19 04:10 sweetaprospa