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.
Files changed (2) hide show
  1. package/dist/index.js +11 -3
  2. 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 : []).map(function (opt) {
39562
- return opt[optionValue];
39563
- }).join(',')
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',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "2.4.649",
4
+ "version": "2.4.650",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {