Skip to content

Commit

Permalink
change a way of assigning property to domElement
Browse files Browse the repository at this point in the history
  • Loading branch information
segoddnja committed Aug 3, 2018
1 parent b58cc88 commit 00a87ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dom/src/client/ReactDOMFiberComponent.js
Expand Up @@ -390,7 +390,7 @@ export function createElement(
// `select` elements automatically pick the first item.
// See https://github.com/facebook/react/issues/13222
if (type === 'select' && props.multiple) {
domElement.setAttribute('multiple', 'true');
domElement.multiple = true;
}
}
} else {
Expand Down

0 comments on commit 00a87ec

Please sign in to comment.