You probably don’t need input type=“number”

You probably don’t need input type=“number”

You probably don’t need input type=“number”

Last week I got a call from my bank regarding a wire transfer I had just scheduled. Turns out they’re using on that account number input field, which changes the behavior of the field:

In this case, one up or down swipe of my finger on my mouse, or hitting the up/down keyboard arrows changes the account number! I’ll also say that incrementing/decrementing a number with a mouse’s scroll wheel (especially the crappy Magic Mouse) is a lousy pattern even for proper numeric input (“Dammit!

Source: bradfrost.com