[whatwg] <input type=number> without keyboard editing
dean.edwards at gmail.com
Sun Nov 7 13:48:36 PST 2010
On 01/11/2010 02:31, TAMURA, Kent wrote:
> A team in Google tried to use <input type=number> for a product, and they
> not to use it.
> What they needed was a control to select an integer from a specific integer
> such as 1 - 16. The number type control in Opera and WebKit allow a user to
> out-of-range value even if the control has min=1 and max=16 attributes.
> It's not
> a good UI and the reason why they doesn't use type=number.
> They need a number control which
> - doesn't allow any keyboard / cut&paste operations and
> So, a text field part is read-only, but the spin-buttons work.
> - always has a valid value.
> "required" by default, and sanitization algorithm may be different.
More information about the whatwg