How to make searchbox with autosuggestion?

Hi,
I am trying to make a search bar that shows the auto-suggestion like google but I am clueless about what should be the right way to do it.

I have two question

  1. I can make a search box that filters the array or objects and I’m wondering if I should follow the same strategy with the search box with auto-suggestion.

  2. how would do it with an API call? I’m using a recipe search API called edamame but I don’t think they provide any data for search suggestions.

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