Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unfloated label of invalid paper-input given invalid color in v2. #665

Open
8 tasks done
jgraycar opened this issue Jul 13, 2018 · 0 comments
Open
8 tasks done

Unfloated label of invalid paper-input given invalid color in v2. #665

jgraycar opened this issue Jul 13, 2018 · 0 comments

Comments

@jgraycar
Copy link

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

expected

Actual outcome

actual

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

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant