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
|
@@ -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";
|