attempts to fix #1331

Might not be the cleanest way, but at least it handles the logic adequately.
pull/1332/head
Sam Hatchett 8 years ago committed by GitHub
parent 0ebe5355e1
commit 89af079b97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -112,8 +112,10 @@ export default function validateElement(
`'multiple' attribute cannot be dynamic if select uses two-way binding`, `'multiple' attribute cannot be dynamic if select uses two-way binding`,
attribute attribute
); );
} else { // not dynamic
checkTypeAttribute(validator, node);
} }
} else { } else { // not select
checkTypeAttribute(validator, node); checkTypeAttribute(validator, node);
} }
} else if (name === 'checked' || name === 'indeterminate') { } else if (name === 'checked' || name === 'indeterminate') {

Loading…
Cancel
Save