angular / angular/components

feat(mat-datepicker): Add Option to Show the days of other months

Open
#26,768 9 comments 48 reactions 0 assignees View on GitHub
area: material/datepicker feature P4
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

### Feature Description

Show the days of other months if there is empty field in current month

Current
![image](https://user-images.githubusercontent.com/47741781/224379582-19b3a81c-8fc1-453d-9769-cf9c6e568425.png)

Example
![image](https://user-images.githubusercontent.com/47741781/224379687-d5f8a294-bf00-4156-b0e0-6cb7ee32d819.png)

Contributor guide

Open the contributing guide

Research direction

Start with the mat-datepicker implementation and its existing configuration options, then inspect how the calendar renders days outside the current month. Define the option's expected behavior from the examples, add coverage for months with leading or trailing empty cells, and verify the rendered calendar matches the requested examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.