You can force the input to contain only positive integer by adding onkeypress within the input tag.
Here, event.charCode >= 48 ensures that only numbers greater than or equal to 0 are returned, while the min tag ensures that you can come to a minimum of 1 by scrolling within the input bar.