mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:26:04 +08:00
09ca75d17e
`app/` means we want to merge it into our application there. `addon` means give it its own module namespace, which is what we wanted.
21 lines
560 B
JavaScript
21 lines
560 B
JavaScript
import SingleSelectComponent from "select-kit/components/single-select";
|
|
|
|
export default SingleSelectComponent.extend({
|
|
pluginApiIdentifiers: ["dropdown-select-box"],
|
|
classNames: ["dropdown-select-box"],
|
|
|
|
selectKitOptions: {
|
|
autoFilterable: false,
|
|
filterable: false,
|
|
showFullTitle: true,
|
|
headerComponent: "dropdown-select-box/dropdown-select-box-header",
|
|
caretUpIcon: "caret-up",
|
|
caretDownIcon: "caret-down",
|
|
showCaret: false
|
|
},
|
|
|
|
modifyComponentForRow() {
|
|
return "dropdown-select-box/dropdown-select-box-row";
|
|
}
|
|
});
|