Hi guys,
I'm having an issue where i have a switch control (Based on a input tag with type set to checkbox) embedded in an item in a list view.
It works perfectly everywhere I test except on android 2.3.4 devices where it does not appear at all. (I have tested on a Samsung Galaxy S II and a Sony Xperia Arc S and it does not work on either phone)
I'd like to note that it does work on these devices when it is outside of a list view (ul, li tags) but the minute I place it inside one it disappears.
I use the following code in a view:
Thanks,
Rob
I'm having an issue where i have a switch control (Based on a input tag with type set to checkbox) embedded in an item in a list view.
It works perfectly everywhere I test except on android 2.3.4 devices where it does not appear at all. (I have tested on a Samsung Galaxy S II and a Sony Xperia Arc S and it does not work on either phone)
I'd like to note that it does work on these devices when it is outside of a list view (ul, li tags) but the minute I place it inside one it disappears.
I use the following code in a view:
<
ul
data-role
=
"listview"
data-style
=
"inset"
data-type
=
"group"
>
<
li
>
Africa
<
ul
>
<
li
data-icon
=
"toprated"
><
input
name
=
"MyCheckBox"
id
=
"MyCheckBox"
type
=
"checkbox"
data-role
=
"switch"
/></
li
>
</
ul
>
</
li
>
</
ul
>
Thanks,
Rob