-
Notifications
You must be signed in to change notification settings - Fork 192
onchange not firing for Date input type #733
Comments
Is this on BB10? On actual device, or only simulator? |
Yes, happening on BB10 using the simulator. I have tried both simulators (fullscreen and qwerty). The example I'm trying to run is here: https://github.com/mikefromcanada/bbuidatetest |
Hmm.. I can try it on a real device to see if there is any difference |
That would be helpful |
Tried it on an actual device and I don't see it getting triggered there either.. I'll raise it with the webkit team |
Thanks Tim. It looks like the control doesn't fire any of the standard DOM events: onchange, onclick, onfocus, etc |
Does it make any difference if you have a date value set for the control vs leaving it to show the default? |
Nope. In my original code I was actually setting the date value and it didn't work there either. |
ok, thanks... I'll get the webkit team looking at this one |
I ran into this issue also in one of my apps. |
Been digging around and found the issue reported on the Webworks hub a while ago too: blackberry/WebWorks#122 I was off earlier about onfocus: |
It's likely getting the onblur at the same time as the onfocus because it is popping up the dialog as soon as you touch it |
Edit: was just reading through the issues...so the Date type isn't actually part of BBUI? If so, should I be reporting this bug on the main developer forums instead?
This line of code:
Does not product the same results on the simulator as it does in Ripple.
In Ripple, the 'hello' message is shown when the date is changed.
On the simulator, no message is shown.
The text was updated successfully, but these errors were encountered: