gd-bs 6.6.67 → 6.6.68

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "6.6.67",
3
+ "version": "6.6.68",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -505,9 +505,9 @@ class _Dropdown extends Base<IDropdownProps> implements IDropdown {
505
505
  items: this.generateCheckboxItems(),
506
506
  multi: this.props.multi,
507
507
  value: this.generateCheckboxValue(this.props.value),
508
- onChange: this.props.onChange ? (values, ev) => {
508
+ onChange: this.props.onChange ? (selectedItems, allItems, ev) => {
509
509
  // Pass the current values
510
- this.props.onChange(this.getValue(), ev);
510
+ this.props.onChange(selectedItems, ev);
511
511
  } : null
512
512
  });
513
513
  } else {
@@ -574,7 +574,7 @@ class _Dropdown extends Base<IDropdownProps> implements IDropdown {
574
574
  // See if the checkboxes exist
575
575
  if (this._cb) {
576
576
  // Get the values
577
- let items = this._cb.getValue() as ICheckboxGroupItem[];
577
+ let items = (this._cb.getValue().selectedItems) as ICheckboxGroupItem[];
578
578
  items = typeof (items["length"]) === "number" ? items : [items] as any;
579
579
 
580
580
  // Parse the items