We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c962a94 commit fef2b44Copy full SHA for fef2b44
src/Codemirror.js
@@ -59,7 +59,7 @@ var CodeMirror = React.createClass({
59
}
60
return (
61
<div className={className}>
62
- <textarea ref="codemirror" name={this.props.path} value={this.props.value} onChange={this.valueChanged} autoComplete="off" />
+ <textarea ref="codemirror" name={this.props.path} defaultValue={this.props.value} autoComplete="off" />
63
</div>
64
);
65
0 commit comments