discourse/app/assets/javascripts/select-kit/addon/components/combo-box.js
David Taylor 48193767bf DEV: Sort imports
Automatically generated by `eslint --fix` to satisfy the updated configuration
2023-10-10 21:46:54 +01:00

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),
});