Hi,
I wanted to ask if there is an option to implement the recent searches widget in autocomplete.js file ?
search.addWidget(
new RecentSearchesWidget({
container: “#recent-searches”,
querySuggestionsIndex: “query-suggestions”,
placeholder: “Search with Query Suggestions”,
maxSavedSearchesPerQuery: 5,
noResultsRenderer: (query, response) =>
<li class="no-results">No matching suggestion for <strong>${query}</strong></li>
})
);