- From: Boris Zbarsky <bzbarsky@mit.edu>
- Date: Thu, 15 Oct 2015 09:45:26 -0400
- To: Михаил Гаврилов <mikhail.v.gavrilov@gmail.com>
- Cc: whatwg@lists.whatwg.org
On 10/15/15 2:35 AM, Михаил Гаврилов wrote: > Let's first decide what numbers is meant by number type. Good luck with that. Everyone seems to feel it's a different thing. > Also a special case is the number of a credit card and any number with > leading zero. Because leading zero no have significance and will > always be clipped in numbers. For such cases, it is necessary always > use text or masked text. And yet people consistently try to use <input type="number"> for these. For credit card numbers it's silly, but for hours/minutes it's not unreasonable, if only to get the little up/down spinners. Yes, the fact that people are trying to shoehorn a wide variety of quite different use cases into <input type="number"> is unfortunate. -Boris
Received on Thursday, 15 October 2015 13:45:58 UTC