"maxlength" is not a valid attribute for input element of type "number" ...

...in html5.