Skip to content

Commit

Permalink
Fix search control suggest
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew44-mappable committed Sep 24, 2024
1 parent f23e030 commit 6679782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/MMapSearchControl/MMapSuggest/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class MMapSuggest extends mappable.MMapComplexEntity<MMapSuggestProps> {

private _addSuggestItems(suggest: SuggestResponse, onSuggestClick: MMapSuggestProps['onSuggestClick']) {
suggest.forEach((suggestItem) => {
const searchParams = {uri: suggestItem.uri, text: suggestItem.title.text};
const searchParams = {uri: suggestItem.uri, text: suggestItem.value};

this.addChild(
new MMapSuggestItem({
Expand Down

0 comments on commit 6679782

Please sign in to comment.