aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0/components/forms.md
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-09-02 09:04:04 +0200
committerGitHub <[email protected]>2017-09-02 09:04:04 +0200
commit37e105333dace2812cedef88ac2aa31a17b38b66 (patch)
tree1aea0b75a55ce027c2acfae6e5a5a59f2e45eab1 /docs/4.0/components/forms.md
parenta766dd56927d0b107e8c909539bf35f5fc4ecb4e (diff)
parent56e415d57d342d23163346bf41c00479617d5f3a (diff)
downloadbootstrap-37e105333dace2812cedef88ac2aa31a17b38b66.tar.xz
bootstrap-37e105333dace2812cedef88ac2aa31a17b38b66.zip
Merge branch 'v4-dev' into fix-unwanted-padding-on-modal
Diffstat (limited to 'docs/4.0/components/forms.md')
-rw-r--r--docs/4.0/components/forms.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md
index eb3deb415..80c5db547 100644
--- a/docs/4.0/components/forms.md
+++ b/docs/4.0/components/forms.md
@@ -684,7 +684,7 @@ Here's how form validation works with Bootstrap:
- As a fallback, `.is-invalid` and `.is-valid` classes may be used instead of the pseudo-classes for [server side validation](#server-side). They do not require a `.was-validated` parent class.
- Due to constraints in how CSS works, we cannot (at present) apply styles to a `<label>` that comes before a form control in the DOM without the help of custom JavaScript.
- All modern browsers support the [constraint validation API](https://www.w3.org/TR/html5/forms.html#the-constraint-validation-api), a series of JavaScript methods for validating form controls.
-- Feedback messages may utilize the [browser defaults](#browser-default) (different for each browser, and unstylable via CSS) or our custom feedback styles with additional HTML and CSS.
+- Feedback messages may utilize the [browser defaults](#browser-defaults) (different for each browser, and unstylable via CSS) or our custom feedback styles with additional HTML and CSS.
- You may provide custom validity messages with `setCustomValidity` in JavaScript.
With that in mind, consider the following demos for our custom form validation styles, optional server side classes, and browser defaults.