aboutsummaryrefslogtreecommitdiff
path: root/docs/components
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-02-06 18:16:37 -0800
committerMark Otto <[email protected]>2016-02-06 18:16:37 -0800
commit365db6e3a8fd9c1bac75cf170948c946e2ed7678 (patch)
tree0bd2e0b13e1ef3cda104189124adeb48e017e52f /docs/components
parent12bb0a721262408618cb069efc19f88784fc3bd9 (diff)
downloadbootstrap-365db6e3a8fd9c1bac75cf170948c946e2ed7678.tar.xz
bootstrap-365db6e3a8fd9c1bac75cf170948c946e2ed7678.zip
clarify some docs for form validation including quick mention for customizing or disabling icons
Diffstat (limited to 'docs/components')
-rw-r--r--docs/components/forms.md7
1 files changed, 6 insertions, 1 deletions
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 %}