2017-11-21 05:53:09 -05:00
|
|
|
import SelectKitHeaderComponent from "select-kit/components/select-kit/select-kit-header";
|
|
|
|
|
|
|
|
export default SelectKitHeaderComponent.extend({
|
|
|
|
layoutName: "select-kit/templates/components/combo-box/combo-box-header",
|
|
|
|
classNames: "combo-box-header",
|
|
|
|
|
|
|
|
clearable: Ember.computed.alias("options.clearable"),
|
|
|
|
caretUpIcon: Ember.computed.alias("options.caretUpIcon"),
|
|
|
|
caretDownIcon: Ember.computed.alias("options.caretDownIcon"),
|
2018-03-29 07:42:00 -04:00
|
|
|
shouldDisplayClearableButton: Ember.computed.and("clearable", "computedContent.hasSelection")
|
2017-11-21 05:53:09 -05:00
|
|
|
});
|