{#if show_options && !disabled}
dispatch("change", e)}
style:top
style:bottom
style:max-height={`calc(${max_height}px - var(--window-padding))`}
style:width={input_width + "px"}
bind:this={listElement}
role="listbox"
>
{#each filtered_indices as index}
-
✓
{choices[index][0]}
{/each}
{/if}