1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 06:21:26 +02: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

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 >}}
{{< 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"> <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>
@@ -903,6 +907,7 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar
</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