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:
commit
1449d041c8
1 changed files with 7 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Reference in a new issue