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({
|
||||
pluginApiIdentifiers: ["tags-admin-dropdown"],
|
||||
classNames: "tags-admin-dropdown",
|
||||
classNames: ["tags-admin-dropdown"],
|
||||
actionsMapping: null,
|
||||
|
||||
selectKitOptions: {
|
||||
|
@ -35,7 +35,7 @@ export default DropdownSelectBoxComponent.extend({
|
|||
}),
|
||||
|
||||
actions: {
|
||||
onSelect(id) {
|
||||
onChange(id) {
|
||||
const action = this.actionsMapping[id];
|
||||
|
||||
if (action) {
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{{#if selectKit.options.icon}}
|
||||
{{d-icon selectKit.options.icon}}
|
||||
{{/if}}
|
||||
{{#each icons as |icon|}} {{d-icon icon}} {{/each}}
|
||||
|
||||
{{component selectKit.options.selectedNameComponent
|
||||
tabindex=tabindex
|
||||
|
|
Loading…
Reference in New Issue