Skip to content

Datepicker hint displayed on top of value on incorrect input #8575

@robindijkhof

Description

@robindijkhof

Bug, feature request, or proposal:

Bug

What is the expected behavior?

The hint on the datapicker should be red(or something else) when an incorrect value is entered

What is the current behavior?

The hint on the datepicker is displayed on top of the value when an incorrect value is entered

What are the steps to reproduce?

Open the material datepicker examples : https://material.angular.io/components/datepicker/examples
Enter asd in the first datepicker
Lose focus

What is the use-case or motivation for changing an existing behavior?

The hint and the value are not readable anymore

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Material rc.1
Angular 5.0.2

Windows Chrome 62
Windows FireFox 57

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions