mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
fix #1331
This commit is contained in:
parent
0ebe5355e1
commit
032083bb34
@ -294,5 +294,6 @@ function checkSlotAttribute(validator: Validator, node: Node, attribute: Node, s
|
||||
}
|
||||
|
||||
function isDynamic(attribute: Node) {
|
||||
if (attribute.value === true) return false;
|
||||
return attribute.value.length > 1 || attribute.value[0].type !== 'Text';
|
||||
}
|
||||
|
3
test/validator/samples/select-multiple/input.html
Normal file
3
test/validator/samples/select-multiple/input.html
Normal file
@ -0,0 +1,3 @@
|
||||
<select bind:value multiple>
|
||||
<option>1</option>
|
||||
</select>
|
Loading…
Reference in New Issue
Block a user