title: React JS Change text value and submit
body: <p>Facing this Error : Failed propType: You provided a <code>value</code> prop to a form field without an <code>onChange</code> handler. This will render a read-only field. If the field should be mutable use <code>defaultValue</code>. Otherwise, set either <code>onChange</code> or <code>readOnly</code>. Check the render method of <code>BasicInputBox</code>.</p>
  
  <p>I am returning Following Component :</p>
  
  <pre><code>&lt;BasicInputBox label="Student Name :" valChange={this.nameChange} value={datafield.name}/&gt;
  </code></pre>
  
  <p>and the component :</p>
  
  <pre><code>var BasicInputBox = React.createClass({
      render: function() {
      return &lt;div&gt;
          &lt;tr&gt;
          &lt;td&gt;&lt;label&gt; { this.props.label } &lt;/label&gt;&lt;/td&gt;
          &lt;td&gt;&lt;input type="text" onChange={ this.props.valChange } value={ this.props.value } /&gt;&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/div&gt;
      }
  });
  </code></pre>
  
  <p>Value is not changing while changing in text field.
  And the following is the function of <code>nameChange</code> function</p>