{#each digits as digit, i}
{ onInput(ev, i) }} on:keydown={async (ev) => { keyPressed(ev, i) }} on:click={async () => { selectInput(i) }} /> {/each}
{#if error}
{error}
{/if}