HTML5 Input type “number” in Firefox

前端 未结 6 998
再見小時候
再見小時候 2020-12-20 12:12

I am working on an app that is only used by a few people in-house, so I feel comfortable telling them to only use Firefox or Chrome, so I can use HTML5.

I was workin

6条回答
  •  礼貌的吻别
    2020-12-20 12:36

    Is that a known issue?

    Yes. Unknown types are treated as text. (And types which only appear in draft specifications tend to be unknown by many browsers)

    Workaround?

    JavaScript

提交回复
热议问题