Hi, I have an input type number. I want to give it a pattern that only allow input number and - , for example : 1234-2345-3456 . <input type="number" class="input-with-value" validate pattern="[0-9]*">
<input type="number" class="input-with-value" validate pattern="[0-9]*">
Thanks in advance.
It will be [0-9-]*
[0-9-]*
still not working, the error message still showing up