You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="lead">Extend form controls by adding text or buttons before, after, or on both sides of any text-based <code><input></code>. Use <code>.input-group</code> with an <code>.input-group-addon</code> to prepend or append elements to a single <code>.form-control</code>.</p>
4
+
<pclass="lead">Extend form controls by adding text or buttons before, after, or on both sides of any text-based <code><input></code>. Use <code>.input-group</code> with an <code>.input-group-addon</code>or <code>.input-group-btn</code>to prepend or append elements to a single <code>.form-control</code>.</p>
<p>Place one add-on or button on either side of an input. You may also place one on both sides of an input.</p>
27
-
<p><strongclass="text-danger">We do not support multiple add-ons on a single side.</strong></p>
27
+
<p><strongclass="text-danger">We do not support multiple add-ons (<code>.input-group-addon</code> or <code>.input-group-btn</code>) on a single side.</strong></p>
28
28
<p><strongclass="text-danger">We do not support multiple form-controls in a single input group.</strong></p>
@@ -152,7 +151,6 @@ <h2 id="input-groups-checkboxes-radios">Checkboxes and radio addons</h2>
152
151
</div><!-- /.row -->
153
152
{% endhighlight %}
154
153
155
-
156
154
<h2id="input-groups-buttons">Button addons</h2>
157
155
<p>Buttons in input groups are a bit different and require one extra level of nesting. Instead of <code>.input-group-addon</code>, you'll need to use <code>.input-group-btn</code> to wrap the buttons. This is required due to default browser styles that cannot be overridden.</p>
<p>Help text should be explicitly associated with the form control it relates to using the <code>aria-describedby</code> attribute. This will ensure that assistive technologies – such as screen readers – will announce this help text when the user focuses or enters the control.</p>
<p>Bootstrap includes validation styles for error, warning, and success states on form controls. To use, add <code>.has-warning</code>, <code>.has-error</code>, or <code>.has-success</code> to the parent element. Any <code>.control-label</code>, <code>.form-control</code>, and <code>.help-block</code> within that element will receive the validation styles.</p>
614
638
@@ -622,7 +646,8 @@ <h4>Conveying validation state to assistive technologies and colorblind users</h
622
646
<form>
623
647
<divclass="form-group has-success">
624
648
<labelclass="control-label" for="inputSuccess1">Input with success</label>
<p>Help text should be explicitly associated with the form control it relates to using the <code>aria-describedby</code> attribute. This will ensure that assistive technologies – such as screen readers – will announce this help text when the user focuses or enters the control.</p>
0 commit comments