svelte/test/js/samples/select-dynamic-value/input.svelte

8 lines
135 B

<script>
export let current;
</script>
<select value={current}>
<option value="1">1</option>
<option value="2">2</option>
</select>