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

Flipswitch using select: 'selected' attribute selects wrong option #6343

Closed
globalmatt opened this issue Aug 14, 2013 · 0 comments
Closed

Flipswitch using select: 'selected' attribute selects wrong option #6343

globalmatt opened this issue Aug 14, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@globalmatt
Copy link

See "Basic select switch second option selected" at: http://view.jquerymobile.com/1.4.0-alpha.1/demos/widgets/flipswitch/index.php

Even though the "Off" option has the selected attribute, the "On" option is selected by default.

The opposite also appears to be true: if you add the selected attribute to the "On" option instead, the "Off" option is selected by default.

@ghost ghost assigned arschmitz Aug 14, 2013
arschmitz added a commit that referenced this issue Aug 15, 2013
…ext Fixes #6343 - Flipswitch using select: 'selected' attribute selects wrong option
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2 participants