#community-help

Disabling Autocomplete Plugin for Empty Query in Autocomplete.js

TLDR Prime queried about disabling an autocomplete plugin when the query is empty. Jason advised them to ask in the repo or Stackoverflow for further assistance.

Powered by Struct AI

1

Nov 04, 2023 (3 weeks ago)
Prime
Photo of md5-696e44f65b98e5b1e2bbbc3d8d7d403d
Prime
03:44 PM
is there any way in autocomplete to disable an autocomplete plugin if the query is empty?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:01 PM
Are you talking about autocomplete.js or the autocomplete widget in instantsearch.js?
Prime
Photo of md5-696e44f65b98e5b1e2bbbc3d8d7d403d
Prime
05:19 PM
Jason autocomplete.js
05:20
Prime
05:20 PM
Image 1 for
07:58
Prime
07:58 PM
Jason
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
09:25 PM
I'm not too familiar with the plugin ecosystem around autocomplete.js. So best to ask in their repo or Stackoverflow
Nov 05, 2023 (3 weeks ago)
Prime
Photo of md5-696e44f65b98e5b1e2bbbc3d8d7d403d
Prime
07:34 AM
Thanks!

1