+
+ {#if hasGroups}
+ {#each groups as [groupLabel, groupItems] (groupLabel)}
+
+
+ {groupLabel}
+
+ {#each groupItems as item (item.value)}
+
+ {item.label}
+
+
+
+
+ {/each}
+
+ {/each}
+ {:else}
+ {#each items as item (item.value)}
+
+ {item.label}
+
+
+
+
+ {/each}
+ {/if}
+
+
+