16 Zeilen
388 B
JavaScript
16 Zeilen
388 B
JavaScript
import TagChooser from "select-kit/components/tag-chooser";
|
|
|
|
export default TagChooser.extend({
|
|
searchTags(url, data, callback) {
|
|
if (this.tagGroups) {
|
|
let tagGroupsString = this.tagGroups.join(",");
|
|
data.filterForInput = {
|
|
name: "custom-wizard-tag-chooser",
|
|
groups: tagGroupsString,
|
|
};
|
|
}
|
|
|
|
return this._super(url, data, callback);
|
|
},
|
|
});
|