Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
1449d041
Commit
1449d041
authored
6 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge branch 'validation-support-list' into v4-dev
parents
d9712b7b
4ad7ba7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
site/docs/4.2/components/forms.md
+7
-1
site/docs/4.2/components/forms.md
with
7 additions
and
1 deletion
+7
-1
site/docs/4.2/components/forms.md
+
7
-
1
View file @
1449d041
...
...
@@ -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"
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets