title: Only numbers. Input number in React
body: <p>I'm trying to exclude minus and plus from input, but it's going wrong:</p>
  
  <pre class="lang-js prettyprint-override"><code>handleChange(event) {
    const value = event.target.value.replace(/\+|-/ig, '');
    this.setState({financialGoal: value});
  }
  </code></pre>
  
  <p>Render input code:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;input style={{width: '150px'}} type="number" value={this.state.financialGoal} onChange={this.handleChange}/&gt;
  </code></pre>