Skip to content

bug(Input): Input of type="time" doesn't have icon and drop-down anymore #26099

@knabbema

Description

@knabbema

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

14.2.7

Description

<input matInput type="time"> presents differently in version15.0.0 and does not show the clock icon anymore. Therefore the drop-down to pick a time can no longer be accessed. The time can only be entered via number keys:
input-timeV15

Previous version:
input-timeV14

Reproduction

Steps to reproduce:

  1. set type of input to time:
    <form class="example-form">
    <mat-form-field class="example-full-width">
    <mat-label>Pick a time</mat-label>
    <input matInput type="time"/>
    </mat-form-field>
    </form>

Expected Behavior

Input field shows clock icon and drop-down can be accessed to pick a time via mouse click.

Actual Behavior

Time can only be entered via number keys.

Environment

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

Metadata

Metadata

Assignees

Labels

needs triageThis issue needs to be triaged by the team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions