Skip to content
This repository was archived by the owner on Jun 25, 2023. It is now read-only.

Commit 5d84606

Browse files
committed
sort optgroup demo and add ungrouped options
1 parent 27e8f3a commit 5d84606

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

demo/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
id="select-3"
5959
data-blobselect-placeholder="Eat Something"
6060
data-blobselect-placeholder-option="None of the Above"
61+
data-blobselect-order-type="string"
62+
data-blobselect-order="asc"
6163
>
6264
<optgroup label="Fruit">
6365
<option value="apples">Apples</option>
@@ -69,6 +71,9 @@
6971
<option value="carrots">Carrots</option>
7072
<option value="lettuce">Lettuce</option>
7173
</optgroup>
74+
<option value=""></option>
75+
<option value="ungrouped-eggplant">Eggplant</option>
76+
<option value="ungrouped-dates">Dates</option>
7277
</select>
7378

7479
<!-- OPTGROUP MULTIPLE EXAMPLE -->

0 commit comments

Comments
 (0)