Open jgraycar opened 5 years ago
In Polymer v1, when a paper-input is invalid but no text is inputted (so the label is unfloated), the label retains its default color. In v2, however, when the input is invalid the unfloated label turns red as well.
https://www.webcomponents.org/element/PolymerElements/paper-input/demo/demo/index.html
Scroll down to the example with label "this input requires some text", enter some text then delete it.
Mark a paper-input as required auto-validate, add text then remove it.
required auto-validate
Description
In Polymer v1, when a paper-input is invalid but no text is inputted (so the label is unfloated), the label retains its default color. In v2, however, when the input is invalid the unfloated label turns red as well.
Expected outcome
Actual outcome
Live Demo
https://www.webcomponents.org/element/PolymerElements/paper-input/demo/demo/index.html
Scroll down to the example with label "this input requires some text", enter some text then delete it.
Steps to reproduce
Mark a paper-input as
required auto-validate
, add text then remove it.Browsers Affected