This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
"Filterable inside custom select" demo fails on pressing ENTER in search field. #7405
Closed
Description
See http://demos.jquerymobile.com/1.4.2/selectmenu-custom-filter/
form.submit( function () { return false; } ); // fix for ENTER key press
must be added after form creation.
Also there should be else branch added to if clause:
if ( !form ) { ... }
else { input = form.find( "input" ); }