]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Document that form field feedback icons only work with `input.form-control` 14203/head
authorChris Rebert <code@rebertia.com>
Mon, 21 Jul 2014 19:26:12 +0000 (12:26 -0700)
committerChris Rebert <code@rebertia.com>
Mon, 21 Jul 2014 19:27:55 +0000 (12:27 -0700)
Closes #14202.

[skip sauce]

docs/_includes/css/forms.html

index 08b3e77ae38dd65e4d21b3d09233d8026c5f8c48..483c0e5884f079411ecfd1bcaec2e927aec587b9 100644 (file)
 
   <h3>With optional icons</h3>
   <p>You can also add optional feedback icons with the addition of <code>.has-feedback</code> and the right icon.</p>
+  <p><strong class="text-danger">Feedback icons only work with textual <code>&lt;input class="form-control"&gt;</code> elements.</strong></p>
   <div class="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 <a href="../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>