For this input, if the user enters 3, it will pass. I want 3 to fail but 3.01 to pass. How can I achieve th" /> For this input, if the user enters 3, it will pass. I want 3 to fail but 3.01 to pass. How can I achieve th" /> For this input, if the user enters 3, it will pass. I want 3 to fail but 3.01 to pass. How can I achieve th"/>

HTML number input validation for strictly greater than

39 Views Asked by At
<input type="number" min="3" step="0.01"/>

For this input, if the user enters 3, it will pass. I want 3 to fail but 3.01 to pass. How can I achieve this?

0

There are 0 best solutions below