mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 19:15:04 +08:00
d48542796e
- improve mini-tag-chooser keyboard behavior - all multil select now respond to select all and left/right arrows - improve events handling - many minor tweaks
13 lines
610 B
JavaScript
13 lines
610 B
JavaScript
import SelectKitHeaderComponent from "select-kit/components/select-kit/select-kit-header";
|
|
import { default as computed } from "ember-addons/ember-computed-decorators";
|
|
|
|
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"),
|
|
shouldDisplayClearableButton: Ember.computed.and("clearable", "computedContent.hasSelection")
|
|
});
|