Stand alone autocomplete

happy morning

is there a way to open the stand alone autocomplete with a search?

i want to pass a search key into the autocomplete init, so when it opens, it will open with some results.
now, it opens a empty page with the search bar.

is that possible?

please advise.

thank you

Just call search with required value on Autocomplete open:

app.autocomplete.create({
  ...
  on: {
    open: function(autocomplete) {
      autocomplete.searchbar.search('Something')
    }
  }
})

thank you so much

will check this in our code.