jquery-archive / jquery-mobile

jQuery Mobile Framework
https://jquerymobile.com
Other
9.7k stars 2.41k forks source link

Uncaught TypeError: Cannot read property 'jqmData' of undefined #8656

Open aarontgrogg opened 4 years ago

aarontgrogg commented 4 years ago

Perhaps not the correct place to report a demo error, but on this page: https://demos.jquerymobile.com/1.4.5/selectmenu-custom-filter/ when trying to use the "Long list" example, the custom select opens, but cannot be closed.

Clicking the "x" does nothing, and selecting an option does nothing.

The dev console displays this error message: Uncaught TypeError: Cannot read property 'jqmData' of undefined

I have also tried reproducing the example in my own code and get the same error.

phxism commented 3 years ago

there are two answers can solve this problem. https://stackoverflow.com/questions/31549576/jquery-mobile-filterable-select-long-list