I'm using in a form an input of type number, like this:
<input class="form-control" id="Parti_NEstudante" name="Parti_NEstudante" type="number" min="0" max="9999999999" step="1" oninput="(validity.valid)||(value='');">
When i insert the value if i introduce more than 10 digits all the input is erased, due to the max i implemented..
My question is, instead of erasing my input, is it possible to just block more digits? just like the behavior of "maxlength" of input type "text".