@@ -45,12 +45,12 @@ <h3>Example of <a href="https://github.com/ttskch/select2-bootstrap4-theme" targ
4545 </ div >
4646 < div class ="form-group ">
4747 < label > Example of disabled select</ label >
48- < select disabled data-placeholder ="Cannot choose ">
48+ < select disabled data-placeholder ="Cannot choose " data-allow-clear =" 1 " >
4949 </ select >
5050 </ div >
5151 < div class ="form-group ">
5252 < label > Example of select with optgroup</ label >
53- < select data-placeholder ="Choose one thing ">
53+ < select data-placeholder ="Choose one thing " data-allow-clear =" 1 " >
5454 < option > </ option >
5555 < optgroup label ="Group A ">
5656 < option > A1</ option >
@@ -70,15 +70,15 @@ <h3>Example of <a href="https://github.com/ttskch/select2-bootstrap4-theme" targ
7070 < div class ="input-group-prepend ">
7171 < span class ="input-group-text "> Prepend</ span >
7272 </ div >
73- < select data-placeholder ="Choose on thing ">
73+ < select data-placeholder ="Choose on thing " data-allow-clear =" 1 " >
7474 < option > </ option >
7575 < option > 1</ option >
7676 < option > 2</ option >
7777 < option > 3</ option >
7878 </ select >
7979 </ div >
8080 < div class ="input-group mt-2 ">
81- < select data-placeholder ="Choose on thing ">
81+ < select data-placeholder ="Choose on thing " data-allow-clear =" 1 " >
8282 < option > </ option >
8383 < option > 1</ option >
8484 < option > 2</ option >
@@ -92,7 +92,7 @@ <h3>Example of <a href="https://github.com/ttskch/select2-bootstrap4-theme" targ
9292 < div class ="input-group-prepend ">
9393 < span class ="input-group-text "> Prepend</ span >
9494 </ div >
95- < select data-placeholder ="Choose on thing ">
95+ < select data-placeholder ="Choose on thing " data-allow-clear =" 1 " >
9696 < option > </ option >
9797 < option > 1</ option >
9898 < option > 2</ option >
@@ -105,7 +105,7 @@ <h3>Example of <a href="https://github.com/ttskch/select2-bootstrap4-theme" targ
105105 </ div >
106106 < div class ="form-group ">
107107 < label > Example of validated select</ label >
108- < select data-placeholder ="Invalid example " class ="form-control is-invalid ">
108+ < select data-placeholder ="Invalid example " class ="form-control is-invalid " data-allow-clear =" 1 " >
109109 < option > </ option >
110110 </ select >
111111 < div class ="invalid-feedback ">
0 commit comments