W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2015

Re: [whatwg] Proposal for showing thousand separator in <input type="number " ... /> form controls.

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Thu, 15 Oct 2015 09:45:26 -0400
To: Михаил Гаврилов <mikhail.v.gavrilov@gmail.com>
Message-ID: <561FADF6.8040903@mit.edu>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:36 UTC