Skip to content

mdInput warning: The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers. #2905

@alexsapps

Description

@alexsapps

Bug: using mdInput prints warning in javascript console:

features.js:30 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.

It is due to testing if "color" input type is supported:
https://github.com/angular/material2/blob/master/src/lib/core/platform/features.ts#L10

The warning can be seen visiting this page:
https://material.angular.io/components/component/input

I'm on Chrome 56.0.2924.76 (64-bit)

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