Skip to content

Commit

Permalink
Merge pull request #959 from MattHauglustaine/fix-enhanced-textarea-s…
Browse files Browse the repository at this point in the history
…et-value

EnhancedTextarea: access the input textfield using getInputNode().
  • Loading branch information
Hai Nguyen committed Jun 26, 2015
2 parents ce6a103 + 037b47a commit c5a114d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/enhanced-textarea.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ let EnhancedTextarea = React.createClass({
},

setValue(value) {
this.refs.input.value = value;
this.getInputNode().value = value;
this._syncHeightWithShadow(value);
},

Expand Down

0 comments on commit c5a114d

Please sign in to comment.