align-toparrow-leftarrow-rightbackbellblockcalendarcamerachatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditfacebookglobegoogleimagesinstagramlocation-pinmagnifying-glassmailmoremuplabelShape 3 + Rectangle 1outlookpersonplusImported LayersImported LayersImported Layersshieldstartwitteryahoo

Re: [ruby-81] jQuery type-ahead and multi-select...

From: Charles W.
Sent on: Tuesday, November 20, 2012 9:31 AM
Sounds like you could use the jQuery Tokeninput plugin, and have them search via a text input instead of a long drop down (which I prefer when dealing with a list longer than 10 items anyways):

There's a Railscast on it too:

Note that this solution only works well if the user is familiar with the namespace categories you have defined, and does not need to "see what all my options are" before they are able to decide what to select.

Charles Worthington
Founder & Principal, Gray Duck Labs

On Tuesday, November 20, 2012 at 9:03 AM, Jon Seidel wrote:

We’re working on an application where the client has a very long list of services to be selected. Much of the time, they will need to select only a single item, so some form of type-ahead is required. However, they will sometimes need to select more than one item, so we need to be able to also provide a multi-select option on the same drop-down. 


I’ve found lots of great plugins to do one or the other, but not both… has anyone found a solution for this?


Thanks much…jon


Jon Seidel, CMC®

Effective Decisions... Priceless!


Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Jon Seidel ([address removed]) from The East Bay Ruby Meetup Group.
To learn more about Jon Seidel, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy