-
- {#if term && allowCreate && !items.includes(term)}
-
- {/if}
- {#each items as value, i (value)}
-
- {/each}
-
- {#if items.length === 0}
-
No results
+
+
+ {#if $term && allowCreate && !items.includes($term)}
+
{/if}
+ {#each items as value, i (value)}
+
+ {/each}
-{/if}
+ {#if items.length === 0}
+
No results
+ {/if}
+