title: Input type="text" default value cant able to change in reactjs
body: <p>I have a requirement that, i have one html text field initially it should have a default value as <code>0</code>. But, later point of time i want to change the value of text box ( in ReactJS ). </p>
  
  <p>Am not able to change the default value. Please find my reactjs code for the same.</p>
  
  <pre><code>&lt;input name="discount" type="text" id="header_discount" step="0.01"  maxLength="5" min="0" max="100"  value={ this.state.item.discount ? this.state.item.discount : this.state.item.discount = "0" }  className="form-control" onChange={ this.handleInputChange } /&gt;  
  </code></pre>