I have the following form in my react app:
<form onSubmit={handleSubmit}>
<label>Go to ToDo nr: </label>
<input type="nubmer"
min="1"
max="200"
onChange={(e) => setToDoNumber(Number(e.target.value) - Number(1))}/>
</form>
The input field that it's creating is just a standard input field for text. I need an input field for numbers only (ideally integers) from 1 to 200.