diff options
author | Mark Otto <markdotto@gmail.com> | 2018-12-22 00:48:53 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2018-12-22 00:48:53 +0300 |
commit | 1449d041c87894255ea7be96601742f02508f5d9 (patch) | |
tree | 84f92ba6f6a44cd7e3d05c6ceaaf09b26dadeb57 /site | |
parent | d9712b7bcd6dc53fc97ac9d352083e4481c35773 (diff) | |
parent | 4ad7ba7b23148d3813c8300c4e7631e520e272b5 (diff) |
Merge branch 'validation-support-list' into v4-dev
Diffstat (limited to 'site')
-rw-r--r-- | site/docs/4.2/components/forms.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/site/docs/4.2/components/forms.md b/site/docs/4.2/components/forms.md index c47606647f..0026d33263 100644 --- a/site/docs/4.2/components/forms.md +++ b/site/docs/4.2/components/forms.md @@ -992,7 +992,13 @@ We recommend using client-side validation, but in case you require server-side v ### Supported elements -Our example forms show native textual `<input>`s above, but form validation styles are also available for `<textarea>`s and custom form controls. +Validation styles are available for the following form controls and components: + +- `<input>`s and `<textarea>`s with `.form-control` (including up to one `.form-control` in input groups) +- `<select>`s with `.form-select` or `.custom-select` +- `.form-check`s +- `.custom-checkbox`s and `.custom-radio`s +- `.custom-file` {% capture example %} <form class="was-validated"> |