[whatwg] Maxlength attribute on input[type=number]
steve at kotiri.com
Thu Jun 27 16:06:31 PDT 2013
> Numeric codes are almost certainly actually type=text, with a
> pattern="\d+" or the like. If the first digit is allowed to be 0,
> it's not type=number. Note that we have the inputmode attribute
> to still indicate that the on-screen keyboard should be numeric rather
> than alphabetic.
I hadn't considered the case of a leading zero. I guess inputmode will do what I need, even if its not supported yet. Thanks for your help.
More information about the whatwg