arengibook 2.4.649 → 2.4.650
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 +11 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39558,9 +39558,17 @@ var MultiSelectMetaAsync = function MultiSelectMetaAsync(_ref) {
|
|
|
39558
39558
|
}), name && /*#__PURE__*/React__default.createElement("input", {
|
|
39559
39559
|
type: "hidden",
|
|
39560
39560
|
name: name,
|
|
39561
|
-
value: (Array.isArray(selectedOptions) ? selectedOptions
|
|
39562
|
-
|
|
39563
|
-
|
|
39561
|
+
value: (Array.isArray(selectedOptions) ? selectedOptions.map(function (opt) {
|
|
39562
|
+
if (_typeof$b(opt) === 'object' && opt !== null) {
|
|
39563
|
+
return opt[optionValue];
|
|
39564
|
+
}
|
|
39565
|
+
if (typeof opt === 'number' || typeof opt === 'string') {
|
|
39566
|
+
return opt;
|
|
39567
|
+
}
|
|
39568
|
+
return null;
|
|
39569
|
+
}).filter(function (v) {
|
|
39570
|
+
return v !== null && v !== undefined;
|
|
39571
|
+
}) : []).join(',')
|
|
39564
39572
|
}), invalid && /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("small", {
|
|
39565
39573
|
style: {
|
|
39566
39574
|
color: 'red',
|