diff options
| author | Mark Otto <[email protected]> | 2018-12-15 14:25:40 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2018-12-15 14:25:40 -0800 |
| commit | 4ad7ba7b23148d3813c8300c4e7631e520e272b5 (patch) | |
| tree | dc1182894855440e4418a747b701c76244267ca7 | |
| parent | ffd3402a923b19754b4735803f9f9580bc1c38a5 (diff) | |
| download | bootstrap-4ad7ba7b23148d3813c8300c4e7631e520e272b5.tar.xz bootstrap-4ad7ba7b23148d3813c8300c4e7631e520e272b5.zip | |
List out what's supported in validation styles
Fixes #27169
| -rw-r--r-- | site/docs/4.1/components/forms.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/site/docs/4.1/components/forms.md b/site/docs/4.1/components/forms.md index c47606647..0026d3326 100644 --- a/site/docs/4.1/components/forms.md +++ b/site/docs/4.1/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"> |
