5 merge requests!28721Hot test,!16605Test pull please ignore,!22103test,!13320Fix form-control-feedback position when label has sr-only class,!25326Adjust examples
<p>You can also add optional feedback icons with the addition of <code>.has-feedback</code> and the right icon.</p>
<divclass="bs-callout bs-callout-warning">
<h4>Icons, labels, and input groups</h4>
<p>Manual positioning of feedback icons is required for inputs without a label and for <ahref="../components#input-groups">input groups</a> with an add-on on the right. For inputs without labels, adjust the <code>top</code>value. For input groups, adjust the <code>right</code> value to an appropriate pixel value depending on the width of your addon.</p>
<p>Manual positioning of feedback icons is required for inputs without a label and for <ahref="../components#input-groups">input groups</a> with an add-on on the right. You are strongly encouraged to provide labels for all inputs for accessibility reasons. If you wish to prevent labels from being displayed, hide them with the <code>sr-only</code> class. If you must do without labels, adjust the <code>top</code>value of the feedback icon. For input groups, adjust the <code>right</code> value to an appropriate pixel value depending on the width of your addon.</p>
</div>
<divclass="bs-example">
<formrole="form">
...
...
@@ -550,7 +550,7 @@
</div>
{% endhighlight %}
<p>Optional icons also work on horizontal and inline forms.</p>
<h4>Optional icons in horizontal and inline forms</h4>
<divclass="bs-example">
<formclass="form-horizontal"role="form">
<divclass="form-group has-success has-feedback">
...
...
@@ -593,6 +593,22 @@
</form>
{% endhighlight %}
<h4>Optional icons with hidden <code>.sr-only</code> labels</h4>