gd-bs 6.9.8 → 6.9.9
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.
|
@@ -558,7 +558,8 @@ var _Dropdown = /** @class */ (function (_super) {
|
|
|
558
558
|
items: this.generateCheckboxItems(),
|
|
559
559
|
multi: this.props.multi,
|
|
560
560
|
value: this.generateCheckboxValue(this.props.value),
|
|
561
|
-
onChange:
|
|
561
|
+
onChange: function (selectedItems, allItems, ev) {
|
|
562
|
+
var _a;
|
|
562
563
|
// See if this is a multi checkbox
|
|
563
564
|
if (_this.props.multi) {
|
|
564
565
|
// Toggle the menu if it's not visible
|
|
@@ -567,8 +568,8 @@ var _Dropdown = /** @class */ (function (_super) {
|
|
|
567
568
|
}, 25);
|
|
568
569
|
}
|
|
569
570
|
// Pass the current values
|
|
570
|
-
_this.props.onChange(selectedItems, ev);
|
|
571
|
-
}
|
|
571
|
+
(_a = _this.props) === null || _a === void 0 ? void 0 : _a.onChange(selectedItems, ev);
|
|
572
|
+
}
|
|
572
573
|
});
|
|
573
574
|
}
|
|
574
575
|
else {
|