aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/css/forms.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-07-21 12:26:12 -0700
committerChris Rebert <[email protected]>2014-07-21 12:27:55 -0700
commit1118e8103b485635249657d39a43a3563e810d6b (patch)
tree11a89f3af76eab4051a931e1672beb113cceee92 /docs/_includes/css/forms.html
parent49519e981614fb8e0c4fabcbb0a632db292c2b3c (diff)
downloadbootstrap-1118e8103b485635249657d39a43a3563e810d6b.tar.xz
bootstrap-1118e8103b485635249657d39a43a3563e810d6b.zip
Document that form field feedback icons only work with `input.form-control`
Closes #14202. [skip sauce]
Diffstat (limited to 'docs/_includes/css/forms.html')
-rw-r--r--docs/_includes/css/forms.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/_includes/css/forms.html b/docs/_includes/css/forms.html
index 08b3e77ae..483c0e588 100644
--- a/docs/_includes/css/forms.html
+++ b/docs/_includes/css/forms.html
@@ -588,6 +588,7 @@
<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>