Swiftype Jquery Autocomplete

I'm using the jquery autocomplete component with Site Search. I'm looking for a way to only initiate the autocomplete after the user has entered X number (in this case 3) characters.

Any ideas if there is a property or setting for this?



There isn't a built-in way to do it, but you could modify the code minimally. This function would be a good place to start: https://github.com/swiftype/swiftype-autocomplete-jquery/blob/master/jquery.swiftype.autocomplete.js#L359

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.