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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "6.6.5",
3
+ "version": "6.6.6",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -419,7 +419,10 @@ class _Dropdown extends Base<IDropdownProps> implements IDropdown {
419
419
  el: menu,
420
420
  items: cbItems,
421
421
  multi: this.props.multi,
422
- onChange: this.props.onChange
422
+ onChange: this.props.onChange ? (values, ev) => {
423
+ // Pass the current values
424
+ this.props.onChange(this.getValue(), ev);
425
+ } : null
423
426
  });
424
427
  } else {
425
428
  let isForm = menu.nodeName == "SELECT";