{#each sortedList as item}
{ dispatch(item.selected ? "deselect" : "select", item._id) }} class="item" >
{item[labelKey]}
{#if item.selected}
{/if}
{/each}