angular / angular/components

Monthpicker switch to days calendar on header click

Open
#13,725 1 comment 0 reactions 0 assignees View on GitHub
area: material/datepicker P4
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

#### Bug, feature request, or proposal:

Bug
#### What is the expected behavior?

When you configure datepicker with only month and year, the click on calendar header must switch between month and years chooser

#### What is the current behavior?
When you configure datepicker with only month and year, the click on calendar header switch on days chooser

#### What are the steps to reproduce?
On the showroom : https://material.angular.io/components/datepicker/overview
go to the month picker, open calendar and click on year in the header

#### What is the use-case or motivation for changing an existing behavior?
To have a real month picker

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
6+, 7+

#### Is there anything else we should know?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior in the Angular Material datepicker month picker at the showroom URL, using a configuration with only month and year. Trace the header click behavior and verify that the completed change keeps the chooser on month and year selection instead of switching to the days chooser.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.