angular / angular/components

feat(DatePicker): Month range selection in mat-datepicker / mat-calendar

Đang mở
#27,922 6 bình luận 2 reaction 0 người được giao Xem trên GitHub
area: material/datepicker feature P4
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

### Feature Description

Proposed Implementation:
I suggest adding an option to the **mat-date-picker/mat-calendar** component that allows users to select a range of dates by clicking on a start date and an end date within the same calendar view. This would provide a more intuitive and efficient way to handle month-based selections. the similar implementation is observed in **mat-date-range-picker**

### Use Case

The month range selection feature would be particularly useful in scenarios where users need to filter or select data over a specific period, such as monthly reports, statistics, or date-based filtering. Eg. salary reports, time and attendance reports etc

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách so sánh hành vi hiện có của mat-date-range-picker với các component mat-datepicker và mat-calendar được nêu trong issue. Xác định interaction được mong đợi khi chọn tháng bắt đầu và tháng kết thúc trong cùng một chế độ xem lịch, bao gồm cách option này sẽ được expose và cách xác minh việc hoàn tất.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
frontend
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.