angular / angular/components

Change the year range in a multi-year view in mat-datepicker

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

説明

**Feature Description**

The possibility to control the year range in a multi-year view in the mat-datepicker in Angular Material 7.

**What is the current behavior?**

Currently the default range of 24 years starts from 2016-2039, and each page backwards offers another 24-year range.

**Use Case**

I need to show a different year range in the multi-year view in the mat-datepicker. I need the possibility to manipulate the year range to be different than the default (which is 2016-2039 in the starting view), e.g. 2010-2033.
This will improve the UX of an application where customers mostly select years beginning from 2010 (customers now need to go to the previous page with a year range from 1992-2015.

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

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

調査の方向性

まず mat-datepicker の実装と既存のテストカバレッジを読み、複数年ビューが初期の24年間の範囲をどのように選択しているかを確認します。呼び出し側で別の範囲を設定でき、初期の複数年ビューがその範囲を反映するようになれば完了です。2010–2033 の例も含まれます。

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

評価

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

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

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