arengibook 2.4.679 → 2.4.680
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/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36633,8 +36633,10 @@ var Dropdown = function Dropdown(props) {
|
|
|
36633
36633
|
setIsEditing(false);
|
|
36634
36634
|
}
|
|
36635
36635
|
clickedFromList.current = false;
|
|
36636
|
-
if (onChange) {
|
|
36637
|
-
onChange(
|
|
36636
|
+
if (typeof onChange === 'function') {
|
|
36637
|
+
onChange(e);
|
|
36638
|
+
} else if (typeof onChange === 'string' && typeof window[onChange] === 'function') {
|
|
36639
|
+
window[onChange](e);
|
|
36638
36640
|
}
|
|
36639
36641
|
};
|
|
36640
36642
|
var groupedItemTemplate = function groupedItemTemplate(option) {
|