12-08-2012 03:21 PM
I have a HTML5 element defined as follows:
<input type="number" min="0.01" step="any" name="foo"/>
When I click on it via BB10 Dev Alpha (10.0.9.1103), I get numeric keyboard (which is good), but without decimal points (which is very bad).
According to http://www.w3.org/TR/html-markup/input.number.html floating numbers should be accepted.
On Playbook (126.96.36.1998), the behaviour is even weirder, because it shows me numeric keyboard for a milisecond and then changes to the full one
Is it going to be resolved soon, or we are stuck with input type="text" and JS validation on input?
12-10-2012 01:11 PM
If we're on this topic, this "numeric keypad" should be completely changed for a web view. If you're aware of all these, then very good! But I'd like to have a full reference here anyway to avoid creating new tickets for the same issue
In fact input type="number" doesn't allow hexadecimal (A-F) and should allow,besides decimal point, minus ("-") sign (if "min" attribute is set to a non-negative number).
Here's the full definition from W3 data type reference:
A floating-point number consists of the following parts, in exactly the following order:
01-04-2013 08:32 AM
how do you report the problem so I can also make a report, I had to make a script to validate the user input the old fashioned way becuase input type-number doesn't have a decimal place
01-26-2013 10:00 AM
Just wondering if anyone knows if this has been fixed yet in the latest BB10 betas? I don't have a BB10 device, I have a Playbook on OS 2.1 and this issue is a little annoying.