Chrome auto formats input=number

后端 未结 8 1648
轻奢々
轻奢々 2020-12-02 16:20

I have a web application where I\'m specifying an input field to be a number using the HTML5 property type=\"number\".



        
8条回答
  •  無奈伤痛
    2020-12-02 16:57

    You could try ...

    which will enforce the entry of 0-9 on Firefox 4 on the desktop as well as an iPhone; I don't have Chrome at hand to try it on, but it should do the same.

提交回复
热议问题