-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Description:
Hi! First, thank you for the great datepicker.
Right now it’s possible to select:
- a single day (click)
- a whole month (month selection mode)
- a whole year (year selection mode)
But there’s no way to select a full week (Mon–Sun / locale-based) with a single click. I’d like to request a “week selection” feature.
Requested behavior:
- Clicking any day selects the whole week containing that day.
- The week boundaries should respect firstDay / locale (e.g., Monday-first vs Sunday-first).
- The selected week should be highlighted in the UI (all 7 days).
- The value returned could be either:
- a range { start: Date, end: Date }, or
- an array of 7 dates, or
- a dedicated “week” object — whatever fits the library best.
Suggested API (example):
- weekSelect: true (or selectionMode: 'week')
- Optional: weekStartsOn (if not already controlled by locale)
Use case:
Weekly planning, booking by week, timesheets, reporting dashboards.
If this is something you’d consider, I can help test or provide a minimal reproduction / UI mock.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels