discourse/app/assets/javascripts/select-kit/components/dropdown-select-box.js.es6

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
476 B
Plaintext
Raw Normal View History

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"
},
modifyComponentForRow() {
return "dropdown-select-box/dropdown-select-box-row";
}
});