{label} {#if required}
*
{/if}
onSearchInput()} onfocusin={() => onSearchInput()} pattern={mustMatch && matched ? `^(${suggestions.map((s) => s.name).join('|')})$` : undefined} /> {#if suggestions.length > 0}
{#each suggestions as suggestion (suggestion)}
onSuggestionClick(suggestion.name)}>{suggestion.name}
{/each}
{/if}