angular / angular/components

feat(date-range-picker): allow disabling one half of the range input

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

説明

#### Feature Description

The user should be able to disable one half of the date range input (either the start or end date) but still allow a user to select a value for the other. Currently the date range picker acts broken if we try to disable one half: https://stackblitz.com/edit/angular-aihygj?file=src/app/date-range-picker-forms-example.html

#### Use Case

This supports use cases where the user needs to select a range, but the start or end date is fixed for some reason, e.g. editing a hotel reservation where its too late to change the check in date.

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

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

調査の方向性

まず、リンクされている StackBlitz の例での動作を再現します。src/app/date-range-picker-forms-example.html と date-range-picker のエントリポイントに注目してください。どちらか一方の日付入力を無効にすると、もう一方の選択にどのような影響があるかを追跡し、その後、開始日または終了日が固定されていても、残りの値を選択できることを確認します。

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

評価

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

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

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