I am working on a sample reactjs form, which has a input number field as shown below:
<input type="number" name="quantity"
min="1"
step="1"
value={this.state.userCount}
onChange={this.handleUserCountChange}
/>
How to set the default value to 5 for the numeric field?