web-ridge / react-native-paper-dates

Smooth and fast cross platform Material Design date and time picker for React Native Paper
https://www.reactnativepaperdates.com
MIT License
638 stars 164 forks source link

Multiple date support #43

Closed nandorojo closed 3 years ago

nandorojo commented 3 years ago

image

Hey @RichardLindhout! Awesome library. Is there a way to select multiple dates like the screenshot above?

RichardLindhout commented 3 years ago

Not yet but I think we should add it, but I'm really short on time a.t.m. but I'm currently building some projects related to dates so maybe within 6 months I will add it.

Ofcourse a PR would also be greatly appreaciated!

nandorojo commented 3 years ago

Got it, if I were to work on this would you be open to merging? Seems like it would just take an array of year-month-day strings (or just Dates) and display them in a list next to / below the calendar.

The normal calendar picker would probably need to be edited to receive an array of dates, in addition to a single date.

Does that sound good to you? If so, I can take a look tomorrow!

nandorojo commented 3 years ago

Opened PR that solves this at #44

RichardLindhout commented 3 years ago

Released in 0.3.0! https://github.com/web-ridge/react-native-paper-dates/releases/tag/v0.3.0