19 lines
451 B
JavaScript
19 lines
451 B
JavaScript
import { computed, observer } from "@ember/object";
|
|
import MultiSelectComponent from "select-kit/components/multi-select";
|
|
|
|
export default MultiSelectComponent.extend({
|
|
_modelDisabledChanged: observer("attrs.disabled", function () {
|
|
this.selectKit.options.set("disabled", this.get("attrs.disabled.value"));
|
|
}),
|
|
|
|
content: computed(function () {
|
|
return this.tools;
|
|
}),
|
|
|
|
value: "",
|
|
|
|
selectKitOptions: {
|
|
filterable: true,
|
|
},
|
|
});
|