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,6 +884,10 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar
{{< /example >}}
{{< example >}}
<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">
<label for="exampleDropdownFormEmail2" class="form-label">Email address</label>
@ -903,6 +907,7 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar
</div>
<button type="submit" class="btn btn-primary">Sign in</button>
</form>
</div>
{{< /example >}}
## Dropdown options