We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It gives me a wrong argument error when I try to use this autocomplete gem for a Search field like this:
wrong argument error
<%= form_tag search_path, :method => 'get' do %> <%= autocomplete_field_tag 'name','', search_autocomplete_product_name_path, params[:search], :placeholder => "Search for a Product.....", :id => "main-search-field" %> <%= submit_tag "Search", :name => nil, :id => "main-search-field-button" %> <%end%>
How do I pass the params[:search] so I am able to search?
params[:search]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It gives me a
wrong argument error
when I try to use this autocomplete gem for a Search field like this:How do I pass the
params[:search]
so I am able to search?The text was updated successfully, but these errors were encountered: