twitter/bootstrap — Issue #1898: Allow error styling on individual inputs within a .control-group
Author: JackWebbHeller
Created: 2012-02-10 19:37:34+00:00
State: open

Hey guys,

This may just be my misunderstanding... but it seems like I cannot add validation error styling to an individual element in a `.control-group` with multiple elements. See screenshot: http://twitpic.com/8i4il1

In this case the markup is as follows:

Form sizes

1

2

3

4

5

[...]

I cannot use `.error` on individual input/label elements - they just come out black as normal. This means that if, say, one element in a `.control-group` had an error, I'm forced to style all or none of them - unless I'm doing it wrong!

Thanks,

Jack