Merge pull request #1333 from sveltejs/gh-1331

fix #1331
pull/1334/head
Rich Harris 7 years ago committed by GitHub
commit 5c956ddc88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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