• {#if $$slots.output && selectedOption}
    { if (interactiveOutput) hasFocus = !hasFocus; }}>
    {:else} (hasFocus = true)} on:click={() => (hasFocus = true)} on:invalid={handleInvalid} on:input={handleInput} on:keydown={handleKeydown} /> {/if}
    {#if showClearBtn} {/if}
    {#each options as option, i}
  • {:else}
  • {/each} {#if $$slots.listEnd}
    {/if}
    {#if error} {error} {/if}