2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-04 08:47:37 +08:00

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

This commit is contained in:
Neil Lalonde 2018-03-02 15:56:15 -05:00
parent efb0bf6b16
commit dda248f5df

View file

@ -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);
},