FIX: makes sure allowUncategorized is passed to underlying component
This commit is contained in:
parent
47bef377f6
commit
b821da80f8
|
@ -15,6 +15,14 @@ export default ComboBoxComponent.extend({
|
||||||
noneRowComponent: "none-category-row",
|
noneRowComponent: "none-category-row",
|
||||||
allowSubCategories: true,
|
allowSubCategories: true,
|
||||||
|
|
||||||
|
init() {
|
||||||
|
this._super();
|
||||||
|
|
||||||
|
this.get("rowComponentOptions").setProperties({
|
||||||
|
allowUncategorized: this.get("allowUncategorized"),
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
filterComputedContent(computedContent, computedValue, filter) {
|
filterComputedContent(computedContent, computedValue, filter) {
|
||||||
if (isEmpty(filter)) { return computedContent; }
|
if (isEmpty(filter)) { return computedContent; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue