mirror of https://github.com/sveltejs/svelte
Merge pull request #1313 from sveltejs/gh-1270
fail validation if bound <select> has dynamic multiple attributepull/1332/head
commit
f66f21bf23
@ -0,0 +1,12 @@
|
||||
[{
|
||||
"message": "'multiple' attribute cannot be dynamic if select uses two-way binding",
|
||||
"loc": {
|
||||
"line": 1,
|
||||
"column": 19
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 28
|
||||
},
|
||||
"pos": 19
|
||||
}]
|
@ -0,0 +1,5 @@
|
||||
<select bind:value :multiple>
|
||||
<option>1</option>
|
||||
<option>2</option>
|
||||
<option>3</option>
|
||||
</select>
|
Loading…
Reference in new issue