-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add option to filter items by letter - demo provided #17
Comments
UPDATE |
I have integrated the list Nav filter plugin with gentle-select here https://jsfiddle.net/jasondavis/zhav9fbf/ I have not tested with multiple select elements on the page as I only need 1 instance but this is a good start and works for me so far. Improvements welcomed. Updated Demo: https://jsfiddle.net/jasondavis/zhav9fbf/ New Options option
|
I am using this library as a Tag Selector/Picker for my Bookmarking app.
Sometimes I have hundreds of tags list items shown in the popup selector which is too much to show and find what I need in the pop up so I wanted to add a list of alphabetical letters across the top to act as tabs to sort and filter the tag items shown and make it easy to find what I am looking for.
jQuery Plugin for Alphabetical list filter:
I found this jQuery library which does exactly what I need to a list of items and was able to add it to this library to make it work as my demo image below shows:
Project Demo - http://ericsteinborn.com/jquery-listnav/
GiutHub - https://github.com/esteinborn/jquery-listnav
Demo of my integration of alphabetical list filter and use as a tag selector:
Here is a live JSFiddle Demo in which I have combined the 2 libraries but I still need to make it into 1 library. https://jsfiddle.net/jasondavis/zgzh5b67/
My Feature Request:
Right now to make this work I have to include the jQuery library for jQuery ListNav and then init and call it from jQuery-gentle-select
It would be nice if someone could add this same functionality into the jQuery-gentle-select library so that I dont have to use a 2nd library. I am not able to do it myself but here is the JavaScript file for jQuery ListNav - https://github.com/esteinborn/jquery-listnav/blob/master/jquery-listnav.js It is about 350 lines of code.
Can this be added as a feature? I would appreciate anyone's help in this very much thanks in advance.
The text was updated successfully, but these errors were encountered: