mirror of
https://github.com/discourse/discourse.git
synced 2025-02-10 21:34:50 +00:00
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")
|
||||
collectionHeader(allCategoriesUrl, allCategoriesLabel, noCategoriesUrl, noCategoriesLabel) {
|
||||
let shortcuts = "";
|
||||
|
@ -31,6 +31,11 @@ export default ComboBoxComponent.extend({
|
||||
return true;
|
||||
},
|
||||
|
||||
@computed("content")
|
||||
filterable(content) {
|
||||
return content.length >= 15;
|
||||
},
|
||||
|
||||
computeHeaderContent() {
|
||||
let content = this.baseHeaderComputedContent();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user