Re:You probably don’t need input type=“number”
by TurningCanadian on Sunday March 24, 2019 @11:29PM
(#19480125)
It's a progressive enhancement. It doesn't break other browsers.
Re:You probably don’t need input type=“number”
by ceejayoz on Monday March 25, 2019 @08:50AM
(#19482001)
If the widely supported <input type="tel"> or <input type="phone"> offer a better user experience on average for your users, it's not an enhancement at all. Not yet, at least.
Re:You probably don’t need input type=“number”
by benatkin on Sunday March 24, 2019 @11:33PM
(#19480143)
I just took a close look at the caniuse page [1]. It says that inputmode also works in Mobile Safari on iOS 12.2, which is at Beta 6 [2]. Firefox's mobile market share is 0.58%, and the market share for old versions of Mobile Safari is at 2.51% according to the caniuse page so it's probably not worth waiting on Firefox. I think it will be a good choice very soon, maybe in a couple of months, because it's still possible to enter numbers with the regular keyboard.
1: https://caniuse.com/#search=inputmode
2: https://en.wikipedia.org/wiki/IOS (Latest preview in the infobox)
Then it isn't the right choice.