1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-22 15:39:59 +00:00

List out what's supported in validation styles

Fixes #27169
This commit is contained in:
Mark Otto 2018-12-15 14:25:40 -08:00
parent ffd3402a92
commit 4ad7ba7b23

View File

@ -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">