]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Document that input groups weren't intended for use with <textarea>s 14482/head
authorChris Rebert <code@rebertia.com>
Fri, 29 Aug 2014 02:55:23 +0000 (19:55 -0700)
committerChris Rebert <code@rebertia.com>
Fri, 29 Aug 2014 02:55:23 +0000 (19:55 -0700)
Refs #14362

docs/_includes/components/input-groups.html

index 4cfddad08e137d3e270d55ad59adfe66c9cdc490..bd29dbe4974c2fd34d666235a4b73c32baa83e46 100644 (file)
@@ -1,11 +1,12 @@
 <div class="bs-docs-section">
   <h1 id="input-groups" class="page-header">Input groups</h1>
 
-  <p class="lead">Extend form controls by adding text or buttons before, after, or on both sides of any text-based input. 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>
+  <p class="lead">Extend form controls by adding text or buttons before, after, or on both sides of any text-based <code>&lt;input&gt;</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>
 
   <div class="bs-callout bs-callout-danger">
-    <h4>Cross-browser compatibility</h4>
+    <h4>Textual <code>&lt;input&gt;</code>s only</h4>
     <p>Avoid using <code>&lt;select&gt;</code> elements here as they cannot be fully styled in WebKit browsers.</p>
+    <p>Avoid using <code>&lt;textarea&gt;</code> elements here as their <code>rows</code> attribute will not be respected in some cases.</p>
   </div>
   <div class="bs-callout bs-callout-warning">
     <h4>Tooltips &amp; popovers in input groups require special setting</h4>