diff options
author | Mark Otto <markdotto@gmail.com> | 2018-12-16 01:25:40 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2018-12-16 01:25:40 +0300 |
commit | 4ad7ba7b23148d3813c8300c4e7631e520e272b5 (patch) | |
tree | dc1182894855440e4418a747b701c76244267ca7 /site/docs | |
parent | ffd3402a923b19754b4735803f9f9580bc1c38a5 (diff) |
List out what's supported in validation styles
Fixes #27169
Diffstat (limited to 'site/docs')
-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 c47606647f..0026d33263 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"> |