angular / angular/components

bug(COMPONENT): MatDatePicker

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

説明

### Is this a regression?

- [ ] Yes, this behavior used to work in the previous version

### The previous version in which this bug was not present was

_No response_

### Description

MatDatePicker with Signal Forms keeps on showin matDatepickerParse error if delete with keyboard a valid date un char at the time.

### Reproduction

StackBlitz link:
Steps to reproduce:
1.
2.

### Expected Behavior

Bind the control to a value.
Select or enter a valid date.
Erase the just entered date.
The forms has invalid()==false

### Actual Behavior

Bind the control to a value.
Select or enter a valid date.
Erase the just entered date.
The forms has invalid()==true

### Environment

- Angular: 22
- CDK/Material: 22
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu):

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

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

調査の方向性

ソースファイル、テスト、再現リンクは提供されていません。まず、Angular Signal Forms で MatDatePicker の動作を再現します。control をバインドし、有効な日付を入力して、1 文字ずつ消去します。日付を消去した結果、matDatepickerParse エラーなしでフォームの invalid state が false のままになれば完了です。

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

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
説明が足りない
初心者へのやさしさ
45/100

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

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