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

Hi to all!
Excuse me I am newbie here.
I want make a proposal for displaying thousand separator in numeric
input fields.
Most users would be more satisfied if in any <input type="number"
value="1234567890.0123456789" /> would seen as 1 234 567 890.012 345
678 9
of course thousand separator must depend of local settings.
1234567890.0123456789 = 1,234,567,890.012,345,678,9
Anyway thousand separator will not be sended to the server when the
form is submitted and not be accessed from Javascript for example:

<input id="input1" type="number" value="1234567890.0123456789" />
console.log(document.getElementById('input1').value);
//return: 1234567890.0123456789

Ie thousand separator affects only the display of numbers for
improving readability.


--
Best Regards,
Mike Gavrilov.

Received on Tuesday, 13 October 2015 09:18:48 UTC