Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Radio button within panel no longer works on 1.4.0a #6246

Closed
guiix-code opened this issue Jul 30, 2013 · 3 comments
Closed

Radio button within panel no longer works on 1.4.0a #6246

guiix-code opened this issue Jul 30, 2013 · 3 comments

Comments

@guiix-code
Copy link

Issue description:
Radio buttons within a fieldset do not change state when clicked.

Test page:
http://jsbin.com/ofuhaw/100/

Steps to reproduce:
(1) Click "Open Panel" button, then a panel opens.
(2) Click on either of the radio buttons.

Expected outcome:
The radio buttons should toggle on a click event.

Actual outcome:
Nothing happens.

Platforms/browsers and devices tested:
OSX10.8.4 / Google Chrome 28
jQuery Mobile and jQuery core version used:

jQuery Mobile 1.4.0-alpha 1
jQuery 1.10.1

This test page works if the panel is placed inside the page, not globally:
http://jsbin.com/ofuhaw/101/

@jaspermdegroot
Copy link
Contributor

I changed the test page so the panel is enhanced while outside page: http://jsbin.com/ofuhaw/89. I can confirm the issue.

@jaspermdegroot
Copy link
Contributor

@doomsy

This is because the radio buttons are not wrapped in a form (thanks @arschmitz !).
http://jsbin.com/ofuhaw/128/edit

Closing as not a bug.

@guiix-code
Copy link
Author

Confirmed. Thanks

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