JSFiddle - React, Tailwind, and code Playground
by Shree Khanal
HTML
<form action="demo_form.asp">
<input id="quantity" name="quantity" type="text" pattern="[1-9][0-9]{0,4}" required />
<input type="submit">
</form>
by Shree Khanal
<form action="demo_form.asp">
<input id="quantity" name="quantity" type="text" pattern="[1-9][0-9]{0,4}" required />
<input type="submit">
</form>