7 lines
107 B

<select bind:value='foo'>
{#each values as v}
<option>{v}</option>
{/each}
</select>
<p>foo: {foo}</p>