|
|
|
@ -16,7 +16,8 @@ import {
|
|
|
|
|
isFunction, |
|
|
|
|
makeObject, |
|
|
|
|
isArray, |
|
|
|
|
each |
|
|
|
|
each, |
|
|
|
|
Element |
|
|
|
|
} from "@/core"; |
|
|
|
|
|
|
|
|
|
@shortcut() |
|
|
|
@ -117,7 +118,7 @@ export class MultiSelectInnerLoader extends Widget {
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const renderEngine = Widget._renderEngine; |
|
|
|
|
Widget.registerRenderEngine(BI.Element.renderEngine); |
|
|
|
|
Widget.registerRenderEngine(Element.renderEngine); |
|
|
|
|
this.cachGroup = createWidget(o.el, { |
|
|
|
|
type: ButtonGroup.xtype, |
|
|
|
|
root: true, |
|
|
|
@ -192,7 +193,7 @@ export class MultiSelectInnerLoader extends Widget {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
const renderEngine = Widget._renderEngine; |
|
|
|
|
Widget.registerRenderEngine(BI.Element.renderEngine); |
|
|
|
|
Widget.registerRenderEngine(Element.renderEngine); |
|
|
|
|
this.cachGroup.addItems(...arguments); |
|
|
|
|
Widget.registerRenderEngine(renderEngine); |
|
|
|
|
this.button_group.addItems(...arguments); |
|
|
|
@ -238,7 +239,7 @@ export class MultiSelectInnerLoader extends Widget {
|
|
|
|
|
this.cachItems = items.slice(firstItemsCount); |
|
|
|
|
} |
|
|
|
|
const renderEngine = Widget._renderEngine; |
|
|
|
|
Widget.registerRenderEngine(BI.Element.renderEngine); |
|
|
|
|
Widget.registerRenderEngine(Element.renderEngine); |
|
|
|
|
this.cachGroup.populate.call(this.cachGroup, items, keyword); |
|
|
|
|
Widget.registerRenderEngine(renderEngine); |
|
|
|
|
this.button_group.populate.call(this.button_group, items.slice(0, firstItemsCount), keyword); |
|
|
|
|