diff options
| author | Mark Otto <[email protected]> | 2017-12-22 16:13:01 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-12-22 16:13:01 -0800 |
| commit | 16f14172406fd88ddb21242ea361833ec19d4fc6 (patch) | |
| tree | b3b73371bf3b8d2d6273b0a9fb6235e48b7a2bbf /docs/4.0/components/dropdowns.md | |
| parent | 13150872c6637d0d224aa9d14fe8e103aff3139e (diff) | |
| download | bootstrap-16f14172406fd88ddb21242ea361833ec19d4fc6.tar.xz bootstrap-16f14172406fd88ddb21242ea361833ec19d4fc6.zip | |
Form check markup v2 (#25050)
* match layout behaviors
* ditch the indicator as separate element for psuedo-elements on the label
* move disabled to attribute only on input
* redo default inline check to support new markup
* redo inline forms
* clean up vars
* update validation mixin to new structure
* update checks in docs
* linting for for/id attributes
Diffstat (limited to 'docs/4.0/components/dropdowns.md')
| -rw-r--r-- | docs/4.0/components/dropdowns.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/4.0/components/dropdowns.md b/docs/4.0/components/dropdowns.md index 926729a3d..b49e84f92 100644 --- a/docs/4.0/components/dropdowns.md +++ b/docs/4.0/components/dropdowns.md @@ -615,8 +615,8 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar <input type="password" class="form-control" id="exampleDropdownFormPassword1" placeholder="Password"> </div> <div class="form-check"> - <label class="form-check-label"> - <input type="checkbox" class="form-check-input"> + <input type="checkbox" class="form-check-input" id="dropdownCheck"> + <label class="form-check-label" for="dropdownCheck"> Remember me </label> </div> @@ -639,8 +639,8 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar <input type="password" class="form-control" id="exampleDropdownFormPassword2" placeholder="Password"> </div> <div class="form-check"> - <label class="form-check-label"> - <input type="checkbox" class="form-check-input"> + <input type="checkbox" class="form-check-input" id="dropdownCheck2"> + <label class="form-check-label" for="dropdownCheck2"> Remember me </label> </div> |
