material icon indicating copy to clipboard operation
material copied to clipboard

Focused inputs with errors don't highlight label and line in red until the second time receiving focus

Open joeyperson opened this issue 11 years ago • 1 comments

When using the demo section for input errors, the first time I focus on an element, it inherits the "normal" ink color, which is incorrect. The spec indicates that when an error appears, both the label and underline are activated with red. So when an error appears, the input would never use the default ink unless the error was resolved.

In the angular demo, it's only after focusing on an input with error twice does the expected behavior occur.

joeyperson avatar Oct 13 '15 20:10 joeyperson

I don't think an error should appear if there's no value and it's not touched.

@joeyperson what your'e asking Is an easy fix, is it the right behavior?

EladBezalel avatar Nov 11 '15 18:11 EladBezalel