mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:08:44 +08:00
07813c4a91
* Convert select-kit from es6 to js * Hide more git blames
18 lines
476 B
JavaScript
18 lines
476 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"
|
|
},
|
|
|
|
modifyComponentForRow() {
|
|
return "dropdown-select-box/dropdown-select-box-row";
|
|
}
|
|
});
|