-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hi,
I would like to request a feature enhancement for the DatePicker component in the gravity-ui/date-components repository. Specifically, it would be incredibly useful to have the ability to select multiple dates within the DatePicker. This feature should allow users to select dates not only within a single month but also across multiple months.
Use Case:
This feature would be beneficial for users who need to select multiple non-consecutive dates for scheduling, planning events, or other similar use cases. It enhances the flexibility and usability of the DatePicker component.
Suggested Implementation:
- Allow the DatePicker to accept an array of dates.
- Enable date selection across multiple months.
- Highlight selected dates in a distinguishable manner.
- Provide clear visual feedback for dates that have already been selected.
- Ensure compatibility with existing DatePicker functionality, such as min/max date restrictions, disabled dates, etc.
Additional Context:
Adding this feature would make the DatePicker more versatile and useful for a broader range of applications. Many users often need to pick multiple dates for events that do not fall within a single month, and having this feature would streamline that process significantly.
Thank you for considering this feature request. I believe it would be a valuable addition to the gravity-ui/date-components library.
Best regards,
Ivan