I want to set an input field a user can type into with a £ sign fixed into that field. The user should not be able to delete or change this sign, but the user should be able to modify what comes after.
e.g.
- initial
£ - user adds
10, result:£10 - user modified changes
10->5000, result:£5000 - user deletes everything in the field, result:
£remains
The placeholder tag does not work as this is not visible when entering something in the field. The default value is also not doing quite what I want.
Place your stake: <input type="text" onChange={this.handleStakeChange}/>