Skip to content

Commit

Permalink
Merge pull request #356 from mhuebert/patch-1
Browse files Browse the repository at this point in the history
Set readOnly of shadow textarea in EnhancedTextarea (#355)
  • Loading branch information
hai-cea committed Feb 25, 2015
2 parents 724a98c + 475c684 commit 5610b45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/enhanced-textarea.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ var EnhancedTextarea = React.createClass({
tabIndex="-1"
rows={this.props.rows}
defaultValue={this.props.defaultValue}
readOnly={true}
value={this.props.value} />
<textarea
{...other}
Expand Down

0 comments on commit 5610b45

Please sign in to comment.