I am trying to fix autocomplete for the SiteSearch Engine with SearchUI. I am unable to fix autocomplete with headless core components(my own build component) whereas it works for "SearchBox" SearchUI built-in component.
I tried to add "beforeAutocompleteResultsCall" but not working.
beforeAutocompleteResultsCall: (options, next) =>
Please provide help !