23 lines
552 B
JavaScript
23 lines
552 B
JavaScript
import SelectBoxKitComponent from "select-box-kit/components/select-box-kit";
|
|
|
|
export default SelectBoxKitComponent.extend({
|
|
classNames: "dropdown-select-box",
|
|
verticalOffset: 3,
|
|
fullWidthOnMobile: true,
|
|
filterable: false,
|
|
autoFilterable: false,
|
|
headerComponent: "dropdown-select-box/dropdown-select-box-header",
|
|
rowComponent: "dropdown-select-box/dropdown-select-box-row",
|
|
|
|
clickOutside() {
|
|
if (this.get("isExpanded") === false) { return; }
|
|
this.close();
|
|
},
|
|
|
|
didSelectValue() {
|
|
this._super();
|
|
|
|
this.blur();
|
|
}
|
|
});
|