Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
search field
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Jun 14, 2021
1 parent 66c35f7 commit 4a0ff5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/suggestions.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ export class Suggestions {
this.refresh(suggestion => {
if (!suggestion.search) {
suggestion.search = cleanString(
`${suggestion.data.label} ${suggestion.data.value}`
suggestion.data.search || `${suggestion.data.label} ${suggestion.data.value}`
);
}

Expand Down

0 comments on commit 4a0ff5d

Please sign in to comment.