0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Add default select example in cheatsheet (#36877)

Co-authored-by: Julien Déramond <julien.deramond@orange.com>
This commit is contained in:
Florian Lacreuse 2022-09-01 03:19:45 +02:00 committed by GitHub
parent 2f3aec819a
commit 87aaf94996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 2 deletions

View File

@ -339,6 +339,15 @@ direction: rtl
<label for="exampleInputPassword1" class="form-label">كلمة السر</label> <label for="exampleInputPassword1" class="form-label">كلمة السر</label>
<input type="password" class="form-control" id="exampleInputPassword1"> <input type="password" class="form-control" id="exampleInputPassword1">
</div> </div>
<div class="mb-3">
<label for="exampleSelect" class="form-label">قائمة اختيار</label>
<select class="form-select" id="exampleSelect">
<option selected>افتح قائمة الاختيار هذه</option>
<option value="1">واحد</option>
<option value="2">اثنان</option>
<option value="3">ثلاثة</option>
</select>
</div>
<div class="mb-3 form-check"> <div class="mb-3 form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1"> <input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">اخترني</label> <label class="form-check-label" for="exampleCheck1">اخترني</label>
@ -440,7 +449,7 @@ direction: rtl
<input class="form-control form-control-lg" type="text" placeholder="حقل إدخال كبير" aria-label=".form-control-lg مثال"> <input class="form-control form-control-lg" type="text" placeholder="حقل إدخال كبير" aria-label=".form-control-lg مثال">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<select class="form-select form-select-lg mb-3" aria-label=".form-select-lg مثال"> <select class="form-select form-select-lg" aria-label=".form-select-lg مثال">
<option selected>افتح قائمة الاختيار هذه</option> <option selected>افتح قائمة الاختيار هذه</option>
<option value="1">واحد</option> <option value="1">واحد</option>
<option value="2">اثنان</option> <option value="2">اثنان</option>

View File

@ -338,6 +338,15 @@ body_class: "bg-light"
<label for="exampleInputPassword1" class="form-label">Password</label> <label for="exampleInputPassword1" class="form-label">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1"> <input type="password" class="form-control" id="exampleInputPassword1">
</div> </div>
<div class="mb-3">
<label for="exampleSelect" class="form-label">Select menu</label>
<select class="form-select" id="exampleSelect">
<option selected>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
</div>
<div class="mb-3 form-check"> <div class="mb-3 form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1"> <input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Check me out</label> <label class="form-check-label" for="exampleCheck1">Check me out</label>
@ -439,7 +448,7 @@ body_class: "bg-light"
<input class="form-control form-control-lg" type="text" placeholder=".form-control-lg" aria-label=".form-control-lg example"> <input class="form-control form-control-lg" type="text" placeholder=".form-control-lg" aria-label=".form-control-lg example">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<select class="form-select form-select-lg mb-3" aria-label=".form-select-lg example"> <select class="form-select form-select-lg" aria-label=".form-select-lg example">
<option selected>Open this select menu</option> <option selected>Open this select menu</option>
<option value="1">One</option> <option value="1">One</option>
<option value="2">Two</option> <option value="2">Two</option>