dynamic-mui 1.0.6 → 1.0.7

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.
@@ -71,9 +71,12 @@ function Select(_ref) {
71
71
  return MuiAttributes;
72
72
  };
73
73
  _react.default.useEffect(function () {
74
+ var newValue = MuiAttributes.multiple ? (value || []).map(function (option) {
75
+ return option.title || option.label || option.value;
76
+ }) : inputValue;
74
77
  onChange({
75
78
  id: id,
76
- value: inputValue,
79
+ value: newValue,
77
80
  option: value
78
81
  });
79
82
  }, [value, inputValue]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dynamic-mui",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "author": "Dinakaran S",
5
5
  "user": "dinakarans",
6
6
  "repository": {