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

fixes #5494: style invalid fields as invalid regardless of required-ness #5786

Merged
merged 1 commit into from
Nov 5, 2012
Merged

fixes #5494: style invalid fields as invalid regardless of required-ness #5786

merged 1 commit into from
Nov 5, 2012

Conversation

cvrebert
Copy link
Collaborator

@cvrebert cvrebert commented Nov 5, 2012

The obvious, simple fix for #5494. Removes the :required selectors from the :invalid styles so that optional fields with invalid values also get styled.

The commit which originally introduced these styles (1209a37) does not explain the inclusion of the requireds, nor does the blog post to which it links (said post instead justifies the :focuses), so the exclusion of optional fields doesn't seem to have been deliberate / explicitly-intended.

mdo added a commit that referenced this pull request Nov 5, 2012
fixes #5494: style invalid fields as invalid regardless of required-ness
@mdo mdo merged commit f3b3814 into twbs:2.2.2-wip Nov 5, 2012
mdo added a commit that referenced this pull request Jan 12, 2013
mdo added a commit that referenced this pull request Jan 12, 2013
stempler pushed a commit to stempler/bootstrap that referenced this pull request Apr 11, 2014
fixes twbs#5494: style invalid fields as invalid regardless of required-ness
stempler pushed a commit to stempler/bootstrap that referenced this pull request Nov 4, 2014
fixes twbs#5494: style invalid fields as invalid regardless of required-ness
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

Successfully merging this pull request may close these issues.

None yet

2 participants