New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native Select menu JavaScript error #7369

Closed
DickvdBrink opened this Issue May 6, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@DickvdBrink
Contributor

DickvdBrink commented May 6, 2014

Hi guys,

I noticed an issue with the native select menu which is reproducible here:
http://demos.jquerymobile.com/1.4.2/forms-gallery/

Steps:

  • Focus the native select (By tabbing to the native select or just by clicking the label)
  • Press enter

Notice the following JavaScript error in the console
Uncaught TypeError: Cannot read property 'parent' of undefined

Tested on Chrome 34

@gabrielschulhof gabrielschulhof added this to the 1.4.3 milestone May 8, 2014

gabrielschulhof added a commit that referenced this issue May 23, 2014

Select: Fixed error in _decideFormat
The _decideFormat function should not be called for native select menus.

(cherry picked from commit 011c112)

Closes gh-7382
Fixes gh-7369
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment