crowdint / rails3-jquery-autocomplete

An easy and unobtrusive way to use jQuery's autocomplete with Rails 3

Home Page:http://rubygems.org/gems/rails3-jquery-autocomplete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I disable the message saying "no existing match" when there was no matched record?

megalomania1982 opened this issue · comments

How can I disable the message saying "no existing match" when there was no matched record?
Is there any option for that?

Because, I'm not using this input box only for the model related to auto-complete but also the columns in other tables, too.
So even if there was no matching record, I'd like to make my user to execute search.
Once the user see the message that's saying "no existing match", they probably won't proceed the search anymore:(

I think you could use the changes here:

#216

and set the label to an empty string. No idea when it will be merged to master though.

@gfaraj Thanks what the problem is I have no idea how to install gem from git source.
I always write the name of the gem and its version in Gemfile, then execute bundle install