For element, maxlength is not working. How can I restrict the maxlength for that number element?
maxlength
Or if your max value is for example 99 and minimum 0, you can add this to input element (your value will be rewrited by your max value etc.)
Then (if you want), you could check if is input really number