gd-bs 6.6.5 → 6.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -379,6 +379,7 @@ var _Dropdown = /** @class */ (function (_super) {
379
379
  };
380
380
  // Renders the items
381
381
  _Dropdown.prototype.renderItems = function () {
382
+ var _this = this;
382
383
  // Clear the items
383
384
  this._items = [];
384
385
  // Get the menu
@@ -407,7 +408,10 @@ var _Dropdown = /** @class */ (function (_super) {
407
408
  el: menu,
408
409
  items: cbItems,
409
410
  multi: this.props.multi,
410
- onChange: this.props.onChange
411
+ onChange: this.props.onChange ? function (values, ev) {
412
+ // Pass the current values
413
+ _this.props.onChange(_this.getValue(), ev);
414
+ } : null
411
415
  });
412
416
  }
413
417
  else {