If you go here, and click in the search box for the field 'Where' and choose any of the options, you will see that they get added to the field and you can continue adding terms to the 'where' field.

I implemented search functionality in it's own model, similar to what Ryan Bates covered in this Railscast.

I am not quite sure how to get the search suggestion & multi-select functionality working. Any ideas or links to either any tutorials or Railscasts or just a general suggestion about how I might implement this?

Thanks.

P.S. I can view the autocomplete Railscast but that doesn't cover the multi-select aspect.

有帮助吗?

解决方案

In AutoSuggest jQuery Plugin, Drew Wilson nicely illustrated How to implement multi-select using AutoSuggest with example: "How to Use it and How it Works".

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top