0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
This commit is contained in:
Rich Harris 2018-04-11 21:31:42 -04:00
parent 0ebe5355e1
commit 032083bb34
2 changed files with 4 additions and 0 deletions

View File

@ -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';
}

View File

@ -0,0 +1,3 @@
<select bind:value multiple>
<option>1</option>
</select>