Browse Source

multiselect loader

es6
guy 6 years ago
parent
commit
fc8e02182c
  1. 13
      src/widget/multiselect/multiselect.loader.js

13
src/widget/multiselect/multiselect.loader.js

@ -103,12 +103,15 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
}, },
value: this.storeValue value: this.storeValue
}); });
BI.createWidget({
type: "bi.vertical", BI.createWidget(BI.extend({
element: this, element: this
items: [this.button_group], }, BI.LogicFactory.createLogic(BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Top), BI.extend({
scrolly: true,
vgap: 5 vgap: 5
}); }, opts.logic, {
items: BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Top, this.button_group)
}))));
this.button_group.on(BI.Controller.EVENT_CHANGE, function () { this.button_group.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });

Loading…
Cancel
Save