I use this stone:
https://github.com/crowdint/rails3-jquery-autocomplete
I'm having difficulty doing automated work, as well as creating a simple search. This is what I mean:
16 - semantic_form_for vendors_path do |f|
17 - f.autocompleted_input :name, :url => autocomplete_vendor_name_home_index_path
URL does not make sense to me.
Here is the HTML result:
<input data-autocomplete="/home/autocomplete_vendor_name" id="_vendors_name" name="/vendors[name]" required="required" size="30" type="text" class="ui-autocomplete-input" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true">
And I do not want to create a new provider, I want to send a request ... but first I try to make autocomplete work.
Suggestions?
source
share