diff --git a/Gruntfile.js b/Gruntfile.js index 146698599c..c4407332dc 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -343,7 +343,12 @@ module.exports = function (grunt) { 'Attribute “autocomplete” not allowed on element “button” at this point.', 'Element “div” not allowed as child of element “progress” in this context. (Suppressing further errors from this subtree.)', 'Consider using the “h1” element as a top-level heading only (all “h1” elements are treated as top-level headings by many screen readers and other tools).', - 'The “datetime-local” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.' + 'The “color” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', + 'The “date” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', + 'The “datetime-local” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', + 'The “month” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', + 'The “time” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', + 'The “week” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.' ] }, src: ['_gh_pages/**/*.html', 'js/tests/visual/*.html'] diff --git a/docs/components/forms.md b/docs/components/forms.md index d3419beb83..ce0124f1ab 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -163,6 +163,91 @@ Below is a complete list of the specific from controls supported by Bootstrap an +### Textual inputs + +Here are examples of `.form-control` applied to each textual HTML5 `` `type`. + +{% example html %} +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+{% endexample %} + ## Form layouts Since Bootstrap applies `display: block` and `width: 100%` to almost all our form controls, forms will by default stack vertically. Additional classes can be used to vary this layout on a per-form basis.