07-03-2011 03:23 AM
Checking to see whether this is just me...
The value sanitization algorithm for HTML input[type=number] elements appears to fail incorrectly for valid floating-point values that begin with a decimal point (e.g., ".14159", ".99", etc.). It succeeds if these same values are entered with leading zeroes (e.g., "0.14159", "0.99", etc.).
This means that attempts to type a valid floating-point numeric value starting with a decimal point into an input type=number HTML element incorrectly fail in the same manner that attempts to enter non-numeric values correctly do.
This occurs using WebWorks SDK for Tablet v2.0 and v2.1, but is probably more related to the tablet's underlying browser engine than to WebWorks.
This is in contrast to other WebKit-based browsers, such as Chrome and Safari, whose value sanitization algorithms succeed for both above-described formats.
Thoughts? Anyone else?
07-03-2011 03:34 AM - edited 07-03-2011 10:39 AM
Even I was able to reproduce the same issue. This might be the issue with device's default browser. The jquery form validation plugin which worked perfectly on webkit browsers with input type number does not work on PlayBook.
07-09-2011 10:35 PM
I've submitted this issue to the BlackBerry Developer Issue Tracker at https://www.blackberry.com/jira/browse/TABLET-275.
Further feedback or information -- there and/or here -- would be appreciated.
07-11-2011 10:38 AM
Thank you for submitting this to Issue Tracker. Someone will be looking at this soon.