How to make type=”number” to positive numbers only

Add a min attribute

<input type="number" min="0">

Leave a Comment