title: onChange last character not removes in reactjs?
body: <p>Here I have one input field this input field is number type So i make validation on this input field of number type see in code(it allows only numbers) it works perfectly but after typing some integers and when I go to make empty input field it is not removes last one character in input field how to remove that also ?</p>
  
  <pre><code>&lt;Input
    name='monthlyPrice'
    type='number'            
    value={this.state.monthlyPrice}
    onChange={this.onInputChangeValue}
  /&gt;
  
  onInputChangeValue(e){
    if(e.target.value.match(/^\d+(?:\.\d+)?$/)) {
      this.setState({ [e.target.name]: e.target.value })
    }
  }
  </code></pre>