{#each choices as choice, i (i)}
dispatch("select", { value: choice, index: i })} type="radio" name="radio-{elem_id}" value={choice} />
{choice}
{/each}