blackberry / jQueryMobile-BB10-Theme

jQuery Mobile BlackBerry 10 Theme
Apache License 2.0
72 stars 56 forks source link

Toggle Button #132

Closed linda-ilonze closed 11 years ago

linda-ilonze commented 11 years ago

Hello,

I am using the toggle button after doing a pull yesterday and the toggle button no longer works with the Ripple simulator. Even with the simple "Select" tag. Can anyone look into this? I am able to render it but after that I cant change the option.

Also I am using this CSS with knockoout and the Dropdown doesnt get repainted when the user changes the selection. Now I know this works because if I render it on a simple html page it works correctly (commenting out this css) however when I put it back it stops working.

Any help with this will be great. I can paste some code, but the code is exactly the same as in the sample directory so I dont this there will be any point.

So After investigation, this issue seems to go away by reverting to use Jquery native $.mobile.selectmenu.prototype.options.nativeMenu = true;

I am presuming that this is some sort of change event that is not currently fired on the objects.

Guys any help with this will be great. I love the UI, but this is really stopping me from moving forward.

Thanks!

linda-ilonze commented 11 years ago

Consider a simple use case :http://jsfiddle.net/UNWt7/ I expect it to work as per it does there - It gets logged to the console window. Actually adding reference to JQM then breaks it. I see that you attempted to fix this here: https://github.com/blackberry/jQueryMobile-BB10-Theme/commit/31df724b6532200fad6ad4d119d4352027fed979 - I doesnt seem to have fixed this.

Can anyone actually look into this? Thank you!!