mirror of https://github.com/sveltejs/svelte
Merge pull request #542 from Zirro/queryselector-checked
Use .querySelector(':checked') instead of .selectedOptions, enable several <select> testspull/553/head
commit
bd82455cb1
@ -1,9 +1,9 @@
|
||||
<p>selected: {{selected}}</p>
|
||||
|
||||
<select bind:value='selected'>
|
||||
<option value="a">a</option>
|
||||
<option value="b">b</option>
|
||||
<option value="c">c</option>
|
||||
<option>a</option>
|
||||
<option>b</option>
|
||||
<option>c</option>
|
||||
</select>
|
||||
|
||||
<p>selected: {{selected}}</p>
|
Loading…
Reference in new issue