mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 17:53:43 +08:00
48193767bf
Automatically generated by `eslint --fix` to satisfy the updated configuration
18 lines
497 B
JavaScript
18 lines
497 B
JavaScript
import { gte } from "@ember/object/computed";
|
|
import SingleSelectComponent from "select-kit/components/single-select";
|
|
|
|
export default SingleSelectComponent.extend({
|
|
pluginApiIdentifiers: ["combo-box"],
|
|
classNames: ["combobox", "combo-box"],
|
|
|
|
selectKitOptions: {
|
|
caretUpIcon: "caret-up",
|
|
caretDownIcon: "caret-down",
|
|
autoFilterable: "autoFilterable",
|
|
clearable: false,
|
|
headerComponent: "combo-box/combo-box-header",
|
|
},
|
|
|
|
autoFilterable: gte("content.length", 10),
|
|
});
|