1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Merge branch 'validation-support-list' into v4-dev

This commit is contained in:
Mark Otto 2018-12-21 13:48:53 -08:00
commit 1449d041c8

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