mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 00:38:04 +08:00
FIX: select-kit was in the wrong place
`app/` means we want to merge it into our application there. `addon` means give it its own module namespace, which is what we wanted.
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
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";
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user