angular / angular/components

bug(matInput): input with type datetime-local doesn't show a calendar pop-up

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

説明

### Is this a regression?

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

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

14

### Description

An input with type `datetime-local` doesn't show the calendar pop-up in Angular Material 15. This is a regression.

Angular Material 15:
image

Angular Material 14:
image

### Reproduction

v15: https://stackblitz.com/edit/datetime-local-angular-15
v14: https://stackblitz.com/edit/datetime-local-angular-14

### Expected Behavior

A calendar icon and pop-up should be available just like in v14

### Actual Behavior

The calendar icon is missing and there is no way to open the calendar pop-up

### Environment

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

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

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

調査の方向性

リンクされている Angular 15 と Angular 14 の StackBlitz 再現コードを Chrome で実行し、datetime-local 入力の動作を比較します。カレンダーアイコンとポップアップを担当する Angular Material の入力処理を追跡します。Angular Material 15 が datetime-local 入力に期待されるカレンダー操作要素とポップアップを復元し、他の入力タイプをリグレッションさせないことを完了条件とします。

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

評価

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

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

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