FIX: makes sure allowUncategorized is passed to underlying component

This commit is contained in:
Joffrey JAFFEUX 2018-01-25 10:41:10 +01:00 committed by GitHub
parent 47bef377f6
commit b821da80f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,14 @@ export default ComboBoxComponent.extend({
noneRowComponent: "none-category-row",
allowSubCategories: true,
init() {
this._super();
this.get("rowComponentOptions").setProperties({
allowUncategorized: this.get("allowUncategorized"),
});
},
filterComputedContent(computedContent, computedValue, filter) {
if (isEmpty(filter)) { return computedContent; }