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

Change second example dropdown form (#36137)

To check cases as #36135
This commit is contained in:
Anton 2022-04-12 18:08:12 +03:00 committed by GitHub
parent fe257823ec
commit 33992b7d5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -884,7 +884,11 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar
{{< /example >}} {{< /example >}}
{{< example >}} {{< example >}}
<form class="dropdown-menu p-4"> <div class="dropdown">
<button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
Dropdown form
</button>
<form class="dropdown-menu p-4">
<div class="mb-3"> <div class="mb-3">
<label for="exampleDropdownFormEmail2" class="form-label">Email address</label> <label for="exampleDropdownFormEmail2" class="form-label">Email address</label>
<input type="email" class="form-control" id="exampleDropdownFormEmail2" placeholder="email@example.com"> <input type="email" class="form-control" id="exampleDropdownFormEmail2" placeholder="email@example.com">
@ -902,7 +906,8 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar
</div> </div>
</div> </div>
<button type="submit" class="btn btn-primary">Sign in</button> <button type="submit" class="btn btn-primary">Sign in</button>
</form> </form>
</div>
{{< /example >}} {{< /example >}}
## Dropdown options ## Dropdown options