Skip to content
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.

selectmenu filter (like listview filter) #2304

Closed
@aliok

Description

@aliok

Mobile browsers are limited and sometimes it is annoying to scroll a long list even with native support. For this kind of selects, I implemented data-filter attribute for selectmenus.

Screenshots : (Github doesn't allow me to embed them into the issue)
http://upload.aliok.com.tr/uploads/jquery-mobile-selectmenu-filter--Screenshot-1.png?attredirects=0
http://upload.aliok.com.tr/uploads/jquery-mobile-selectmenu-filter-Screenshot-2.png?attredirects=0
http://upload.aliok.com.tr/uploads/jquery-mobile-selectmenu-filter-Screenshot-3.png?attredirects=0

You can see a live demo at : http://jsfiddle.net/sEMyT/2/

The code I wrote is not jquery-mobile quality, since I was desperate for extension points.
Thus, I didn't send a pull request.

If you also think this is a cool feature, I am here to help integrating it.
Or, what you can also do is providing (or pointing to) some extension points and I can maintain this feature as an additional plugin.

EDIT: here is my fork https://github.com/aliok/jquery-mobile/commits/selectmenu-forceDialog/

Activity

toddparker

toddparker commented on Aug 18, 2011

@toddparker
Contributor

Seems like a cool feature, I like. We recently pulled the custom select menu apart from the select with native menus so I can see this working as an extension to the custom menu plugin. We would probably look into this post-1.0 since this will take some time to get right.

toddparker

toddparker commented on Aug 18, 2011

@toddparker
Contributor

Actually, can you add this to the feature request wiki, link to this issue, then close it? We'll re-open if we decide to add it. Thanks!

aliok

aliok commented on Aug 18, 2011

@aliok
Author

Please see issue 758

aliok

aliok commented on Aug 18, 2011

@aliok
Author
gijohnson-usgs

gijohnson-usgs commented on Aug 23, 2012

@gijohnson-usgs

Any update on this feature?

ryanilg

ryanilg commented on Aug 23, 2012

@ryanilg

+1

trippo

trippo commented on Oct 25, 2012

@trippo

+1

sdhjl2000

sdhjl2000 commented on Feb 26, 2013

@sdhjl2000

+1

jaspermdegroot

jaspermdegroot commented on Feb 26, 2013

@jaspermdegroot
Contributor

See ticket #5629. We are planning on making the listview filter a generic widget extension that can be used for custom selects as well.

X-O

X-O commented on Aug 4, 2013

@X-O

The filter is a separate widget in 1.4.0, but as far as I know we can't yet use it on the select dialog.
Related ticket #6282

jstanden

jstanden commented on Jan 17, 2014

@jstanden

+1

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jstanden@sdhjl2000@ryanilg@toddparker@aliok

        Issue actions

          selectmenu filter (like listview filter) · Issue #2304 · jquery-archive/jquery-mobile