react-native-ui-datepicker icon indicating copy to clipboard operation
react-native-ui-datepicker copied to clipboard

Add support for selecting specific days of the week

Open JosDevv opened this issue 9 months ago • 0 comments

Hi,

First of all, thank you for maintaining this library; it has been incredibly useful!

I would like to request a feature that allows users to select specific days of the week (e.g., Monday, Wednesday, Friday) directly within the date picker.

Use case: This feature would be particularly helpful in scenarios where users need to set recurring events or select dates based on specific weekdays. For instance:

  • Scheduling classes on Mondays and Wednesdays.
  • Picking recurring delivery days (e.g., every Friday).

Expected behavior:

  • Users can choose one or more weekdays (e.g., via checkboxes or a dropdown).
  • The date picker highlights or restricts the selection to the chosen days.

Possible implementation suggestions:

  • Add a "day-of-week" selector as an optional configuration.
  • Allow developers to define a set of weekdays that are enabled for selection.

Please let me know if this feature aligns with the roadmap or if I could contribute to its development in some way.

Thank you for considering this request!

JosDevv avatar Jan 13 '25 16:01 JosDevv