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

I'm afraid that we have never agreed until someone misused <input type
= "number" .. />.

Let's first decide what numbers is meant by number type.
If our answer would be: https://en.wikipedia.org/wiki/Rational_number
The years is the smallest part of all the numbers.
Anyway always can use <input type=text ... /> for them.

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.





--
Best Regards,
Mike Gavrilov.


2015-10-14 18:11 GMT+05:00 Boris Zbarsky <bzbarsky@mit.edu>:
> On 10/14/15 5:47 AM, Михаил Гаврилов wrote:
>>
>> 2015-10-14 0:41 GMT+05:00 Boris Zbarsky <bzbarsky@mit.edu>:
>>>
>>> See https://bugzilla.mozilla.org/show_bug.cgi?id=974175 for details.
>>
>>
>> I think the problem with the display of the year with the help of
>> <input type = "number" ... /> far-fetched.
>
>
> In what sense?  People are doing it right now, and people do not expect to
> see "2,015" as the year.  They just don't.
>
>> Sooner or later year will be five-digit and more
>
>
> You mean "later", right?  ;)  Seriously, I expect the computer interaction
> modalities to be quite different by then, assuming the concept even makes
> sense at that point.
>
>> And in general I think for selecting date should be used for
>> special types of input: type="month" type="year".
>
>
> That's great, and I agree, but that's not what people are doing in practice.
>
> -Boris

Received on Thursday, 15 October 2015 06:36:02 UTC