Skip to content

A platform for community discussion. Free, open, simple.

FIX: tag input in composer was not respecting tag group rules

Neil Lalondedda248f5dff2
diff --git a/app/assets/javascripts/select-kit/components/mini-tag-chooser.js.es6 b/app/assets/javascripts/select-kit/components/mini-tag-chooser.js.es6
index b6f445a4f73..de9b0661f6d 100644
--- a/app/assets/javascripts/select-kit/components/mini-tag-chooser.js.es6
+++ b/app/assets/javascripts/select-kit/components/mini-tag-chooser.js.es6
@@ -188,6 +188,7 @@ export default ComboBox.extend(Tags, {
categoryId: this.get("categoryId")
};
if (this.get("selectedTags")) data.selected_tags = this.get("selectedTags").slice(0, 100);
+ if (!this.get("everyTag")) data.filterForInput = true;
this.searchTags("/tags/filter/search", data, this._transformJson);
},