From 49c1c560adc32e8c03e2052d946a34c3afb3322b Mon Sep 17 00:00:00 2001 From: anbosuki Date: Sat, 16 Nov 2024 21:38:31 +0100 Subject: [PATCH] Fixed the tag suggestions being shown as [object Object] when added manually to a tag --- client/js/controls/tag_input_control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/controls/tag_input_control.js b/client/js/controls/tag_input_control.js index cca58d5b7..9afaf9d83 100644 --- a/client/js/controls/tag_input_control.js +++ b/client/js/controls/tag_input_control.js @@ -386,7 +386,7 @@ class TagInputControl extends events.EventTarget { ); } for (let suggestion of tag.suggestions || []) { - this._suggestions.set(suggestion, 5); + this._suggestions.set(suggestion._origName, 5); } if (this._suggestions.length) { this._openSuggestionsPopup();