Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

1.3.0 (final) and core 1.9.1 Radio Buttons inside of div data-role=controlgroup #5668

Closed
andleer opened this Issue Feb 20, 2013 · 1 comment

Comments

Projects
None yet
2 participants

andleer commented Feb 20, 2013

I thought that jQM now supported core 1.9.1 and if so, I am having an issue with radio buttons. I found the same issue with 1.3.0 RC1

Chrome 24.0.1312.57 on the desktop (Win7) & Safari iOS 6.1.2

with 1.9.1
http://jsbin.com/ikuhex/13/

Top 2 groups inside of div. bottom two inside of fieldset. (1 example shown.)

image

with 1.8.2
http://jsbin.com/ikuhex/11/

image

All else should be the same. The 1.9.1 version renders correctly inside of a fieldset but not inside of a div. Both with data-role="controlgroup".

Contributor

gabrielschulhof commented Feb 20, 2013

This happens on webkit, because it passes null attribute values into the DOM as strings. It's fixed now and the fix will be available in 1.3.1. In the meantime, the only choice is to either put checkboxes/radio buttons inside forms or inside fieldsets.

The fix: 675e0dc on master and 53e9687 on 1.3-stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment