angular / angular/components

Monthpicker switch to days calendar on header click

オープン
#13,725 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: material/datepicker P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

#### 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?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、月と年だけを設定した構成を使用して、showroom URL の Angular Material datepicker month picker の動作を再現します。ヘッダーのクリック動作を追跡し、完了した変更によって日付選択に切り替わらず、月と年の選択画面に留まることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。