FIX: ensures tags-admin-dropdown is working correctly with sk2 (#8852)
This commit is contained in:
parent
35a1912e2d
commit
2c2ab474a4
|
@ -3,7 +3,7 @@ import { computed } from "@ember/object";
|
||||||
|
|
||||||
export default DropdownSelectBoxComponent.extend({
|
export default DropdownSelectBoxComponent.extend({
|
||||||
pluginApiIdentifiers: ["tags-admin-dropdown"],
|
pluginApiIdentifiers: ["tags-admin-dropdown"],
|
||||||
classNames: "tags-admin-dropdown",
|
classNames: ["tags-admin-dropdown"],
|
||||||
actionsMapping: null,
|
actionsMapping: null,
|
||||||
|
|
||||||
selectKitOptions: {
|
selectKitOptions: {
|
||||||
|
@ -35,7 +35,7 @@ export default DropdownSelectBoxComponent.extend({
|
||||||
}),
|
}),
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
onSelect(id) {
|
onChange(id) {
|
||||||
const action = this.actionsMapping[id];
|
const action = this.actionsMapping[id];
|
||||||
|
|
||||||
if (action) {
|
if (action) {
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{{#if selectKit.options.icon}}
|
{{#each icons as |icon|}} {{d-icon icon}} {{/each}}
|
||||||
{{d-icon selectKit.options.icon}}
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{component selectKit.options.selectedNameComponent
|
{{component selectKit.options.selectedNameComponent
|
||||||
tabindex=tabindex
|
tabindex=tabindex
|
||||||
|
|
Loading…
Reference in New Issue