angular / angular/components

feat(mat-datepicker): Use mat-datepicker-actions without losing the regular behavior

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

説明

### Feature Description

As soon as any actions are set (in my case just a _Today_ button) the default functionality is los. Imho this should only be the case, if the `matDatepickerApply` directive is used, too.

### Use Case

Add a _Today_ button, keeping the default select behavior.

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

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

調査の方向性

mat-datepicker-actions のエントリーポイントから始め、Today ボタンを使って報告されたケースを再現します。matDatepickerApply ディレクティブの有無で動作を比較します。完了の条件は、そのディレクティブを使用しない限り、通常の選択動作が維持されることです。

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

評価

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

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

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