problems
problems

Reputation: 105

simple form dropdown with search or autocomplete

I have a simple form with a dropdown of items that it's very long. I would like to know if there is a way to make a search bar with an autocomplete for these items or a dropdown with a search bar that looks for items in the dropdown as you search.

Upvotes: 0

Views: 1210

Answers (2)

San
San

Reputation: 165

You can also use the select2-rails gem to search from the dropdown.Here is the github link Click

Upvotes: 1

maulik bafalipara
maulik bafalipara

Reputation: 248

I think your question is the same as the below question please check it. you can get a solution to your problem.

Ruby on Rails - Simple Form autocomplete association search

Upvotes: 0

Related Questions