mirror of https://github.com/sveltejs/svelte
fail validation if bound <select> has dynamic multiple attribute - fixes #1270
parent
8717ff8c3c
commit
dfc8462d98
@ -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