We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Is it possible to start the search after typing one character only? No request is sent to the server when I type the first character.
Thanks in advance.
https://github.com/crowdint/rails3-jquery-autocomplete/tree/master/lib/assets/javascripts
You can locate the above mentioned java script files of gem in your local and change the value manually.
Just open the files and find "2". You will see code like.
if ( term.length < 2 ) { return false; }
Replace "2" with your desired length. Don't forget to restart server.
There's an open PR (#169) with this functionality from 8 months ago. I hope merge someday..
No chance to see this feature in the options attribute ?
@charlesdg follow this pull request #169
Please add following attribute on element. 'min-length' => 1 or any value you want it to be. Here search starts after 1 character.
Activity
rvsingh commentedon Mar 1, 2013
https://github.com/crowdint/rails3-jquery-autocomplete/tree/master/lib/assets/javascripts
You can locate the above mentioned java script files of gem in your local and change the value manually.
Just open the files and find "2". You will see code like.
if ( term.length < 2 ) {
return false;
}
Replace "2" with your desired length. Don't forget to restart server.
mauriciopasquier commentedon Mar 15, 2013
There's an open PR (#169) with this functionality from 8 months ago. I hope merge someday..
charlesdg commentedon Feb 13, 2014
No chance to see this feature in the options attribute ?
frederico commentedon Feb 18, 2014
@charlesdg follow this pull request #169
aamir-nazir commentedon Oct 4, 2016
Please add following attribute on element.
'min-length' => 1
or any value you want it to be. Here search starts after 1 character.