Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

input: Add invalid styles for firefox #1165

Closed
epelc opened this issue Jan 12, 2015 · 0 comments
Closed

input: Add invalid styles for firefox #1165

epelc opened this issue Jan 12, 2015 · 0 comments
Milestone

Comments

@epelc
Copy link
Contributor

epelc commented Jan 12, 2015

Right now in firefox if your input has required min max etc set, and it isn't valid you end up with a big red box around it. We should replace this box with the correct material styles for errors which can be found here.

What you see now
bad-input

To remove the red border you need to add the following(we may want to only apply this to inputs with md-input-container but probably not).

input:invalid {
    box-shadow: none;
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants