From ff1788666ffe935fa066eca6f5a6b9f4384c9b36 Mon Sep 17 00:00:00 2001 From: Jim Jiang Date: Tue, 12 Mar 2019 09:22:39 -0400 Subject: [PATCH] Remove redundant placeholders in forms docs (#28406) * Change state field to select * Include "Choose..." placeholder for select * Change validated select to .custom-select --- site/docs/4.3/components/forms.md | 86 ++++++++++++++++++------------- 1 file changed, 49 insertions(+), 37 deletions(-) diff --git a/site/docs/4.3/components/forms.md b/site/docs/4.3/components/forms.md index b329f989a0..6c3436fd2d 100644 --- a/site/docs/4.3/components/forms.md +++ b/site/docs/4.3/components/forms.md @@ -18,12 +18,12 @@ Here's a quick example to demonstrate Bootstrap's form styles. Keep reading for
- + We'll never share your email with anyone else.
- +
@@ -134,7 +134,7 @@ If you want to have `` elements in your form styled as plain tex
- +
@@ -282,11 +282,11 @@ The `.form-group` class is the easiest way to add some structure to forms. It pr
- +
- +
{% endcapture %} @@ -335,11 +335,11 @@ More complex layouts can also be created with the grid system.
- +
- +
@@ -391,13 +391,13 @@ At times, you maybe need to use margin or padding utilities to create that perfe
- +
- +
@@ -771,14 +771,14 @@ Custom feedback styles apply custom colors, borders, focus styles, and backgroun
- +
Looks good!
- +
Looks good!
@@ -789,7 +789,7 @@ Custom feedback styles apply custom colors, borders, focus styles, and backgroun
@
- +
Please choose a username.
@@ -799,21 +799,24 @@ Custom feedback styles apply custom colors, borders, focus styles, and backgroun
- +
Please provide a valid city.
- +
- Please provide a valid state. + Please select a valid state.
- +
Please provide a valid zip.
@@ -867,11 +870,11 @@ While these feedback styles cannot be styled with CSS, you can still customize t
- +
- +
@@ -879,22 +882,25 @@ While these feedback styles cannot be styled with CSS, you can still customize t
@
- +
- +
- +
- +
@@ -919,14 +925,14 @@ We recommend using client-side validation, but in case you require server-side v
- +
Looks good!
- +
Looks good!
@@ -937,7 +943,7 @@ We recommend using client-side validation, but in case you require server-side v
@
- +
Please choose a username.
@@ -947,21 +953,24 @@ We recommend using client-side validation, but in case you require server-side v
- +
Please provide a valid city.
- +
- Please provide a valid state. + Please select a valid state.
- +
Please provide a valid zip.
@@ -988,7 +997,7 @@ We recommend using client-side validation, but in case you require server-side v Validation styles are available for the following form controls and components: - ``s and `