Skip to content

Commit 64c00dc

Browse files
committed
Issues/#1689 text input warning
Summary: This should close issue 1689. Using Object.assign to pass Flow checks. Closes #1956 Github Author: Matt Revell <mattrevell82@me.com>
1 parent ba433be commit 64c00dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/Components/TextInput/TextInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ var TextInput = React.createClass({
411411
_renderIOS: function() {
412412
var textContainer;
413413

414-
var props = this.props;
414+
var props = Object.assign({},this.props);
415415
props.style = [styles.input, this.props.style];
416416

417417
if (!props.multiline) {

0 commit comments

Comments
 (0)