From 740ffb8ed4c8f22674322476bd22ae46e060359a Mon Sep 17 00:00:00 2001 From: Raphael Ackermann Date: Thu, 14 Jan 2016 09:59:40 +0100 Subject: typo: from controls --> form controls --- docs/components/forms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/components/forms.md') diff --git a/docs/components/forms.md b/docs/components/forms.md index ce0124f1a..58fd41ac0 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -84,7 +84,7 @@ Remember, since Bootstrap utilizes the HTML5 doctype, **all inputs must have a ` {% endexample %} -Below is a complete list of the specific from controls supported by Bootstrap and the classes that customize them. Additional documentation is available for each group. +Below is a complete list of the specific form controls supported by Bootstrap and the classes that customize them. Additional documentation is available for each group. -- cgit v1.2.3 From 6384789f952c297356a94aded5900d199d09ae87 Mon Sep 17 00:00:00 2001 From: cndpzc Date: Thu, 28 Jan 2016 15:44:56 +0800 Subject: Fix typo in forms.md Closes #19049 --- docs/components/forms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/components/forms.md') diff --git a/docs/components/forms.md b/docs/components/forms.md index 58fd41ac0..e6439ae25 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -271,7 +271,7 @@ The `.form-group` class is the easiest way to add some structure to forms. Its o ### Inline forms -Use the `.form-inline` class to to display a series of labels, form controls, and buttons on a single horizontal row. Form controls within inline forms behave differently: +Use the `.form-inline` class to display a series of labels, form controls, and buttons on a single horizontal row. Form controls within inline forms behave differently: - Controls are `display: inline-block` to provide alignment control via `vertical-align` and `margin`. - Controls receive `width: auto` to override the Bootstrap default `width: 100%`. -- cgit v1.2.3 From 365db6e3a8fd9c1bac75cf170948c946e2ed7678 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 6 Feb 2016 18:16:37 -0800 Subject: clarify some docs for form validation including quick mention for customizing or disabling icons --- docs/components/forms.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs/components/forms.md') diff --git a/docs/components/forms.md b/docs/components/forms.md index e6439ae25..fed3ba399 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -634,7 +634,12 @@ Block help text—for below inputs or for longer lines of help text—can be eas ## Validation -Bootstrap includes validation styles for danger, warning, and success states on form controls. To use, add `.has-warning`, `.has-danger`, or `.has-success` to the parent element. Any `.form-control-label`, `.form-control`, and `.text-help` within that element will receive the validation styles. +Bootstrap includes validation styles for danger, warning, and success states on form controls. + +- To use, add `.has-warning`, `.has-danger`, or `.has-success` to the parent element. Any `.form-control-label`, `.form-control`, and `.text-help` within that element will receive the validation styles. +- Validation icons are `url()`s configured via Sass variables that are applied to `background-image` declarations for each state. +- You may use your own base64 PNGs or SVGs by updating the Sass variables and recompiling. +- Icons can also be disabled entirely by changing the variables to `non` or commenting out the source Sass. {% comment %} {% callout warning %} -- cgit v1.2.3