{#if filteredItems.length > 0}
{#each filteredItems as model, modelIdx}
{ confirmSelect(model); }} on:mousemove={() => { selectedIdx = modelIdx; }} on:focus={() => {}} >
{model.name}
{/each}
{/if}