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?
Thanks.
K
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?
Thanks.
K
Hello,
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.