diff --git a/packages/autocomplete-plugin-query-suggestions/src/createQuerySuggestionsPlugin.ts b/packages/autocomplete-plugin-query-suggestions/src/createQuerySuggestionsPlugin.ts index d1ce31958..96bc7dc7d 100644 --- a/packages/autocomplete-plugin-query-suggestions/src/createQuerySuggestionsPlugin.ts +++ b/packages/autocomplete-plugin-query-suggestions/src/createQuerySuggestionsPlugin.ts @@ -82,7 +82,7 @@ export function createQuerySuggestionsPlugin< return { getSources({ query, setQuery, refresh, state }) { function onTapAhead(item: TItem) { - setQuery(item.query); + setQuery(`${item.query} `); refresh(); }