FEATURE: display search on large category-drop and tag-drop
This commit is contained in:
parent
8ff4104555
commit
ce507b7957
|
@ -36,6 +36,11 @@ export default ComboBoxComponent.extend({
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@computed("content")
|
||||||
|
filterable(content) {
|
||||||
|
return content.length >= 15;
|
||||||
|
},
|
||||||
|
|
||||||
@computed("allCategoriesUrl", "allCategoriesLabel", "noCategoriesUrl", "noCategoriesLabel")
|
@computed("allCategoriesUrl", "allCategoriesLabel", "noCategoriesUrl", "noCategoriesLabel")
|
||||||
collectionHeader(allCategoriesUrl, allCategoriesLabel, noCategoriesUrl, noCategoriesLabel) {
|
collectionHeader(allCategoriesUrl, allCategoriesLabel, noCategoriesUrl, noCategoriesLabel) {
|
||||||
let shortcuts = "";
|
let shortcuts = "";
|
||||||
|
|
|
@ -31,6 +31,11 @@ export default ComboBoxComponent.extend({
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@computed("content")
|
||||||
|
filterable(content) {
|
||||||
|
return content.length >= 15;
|
||||||
|
},
|
||||||
|
|
||||||
computeHeaderContent() {
|
computeHeaderContent() {
|
||||||
let content = this.baseHeaderComputedContent();
|
let content = this.baseHeaderComputedContent();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue