You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/generator/samples/binding-select-initial-value/main.html

9 lines
192 B

<p>selected: {{selected}}</p>
<select bind:value='selected'>
<option value="a">a</option>
<option value="b">b</option>
<option value="c">c</option>
</select>
<p>selected: {{selected}}</p>