intelicoreact 0.2.77 → 0.2.78
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.
|
@@ -45,6 +45,9 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
45
45
|
values = _useState2[0],
|
|
46
46
|
setValues = _useState2[1];
|
|
47
47
|
|
|
48
|
+
(0, _react.useLayoutEffect)(function () {
|
|
49
|
+
return setValues(options);
|
|
50
|
+
}, [options]);
|
|
48
51
|
var handle = {
|
|
49
52
|
change: function change(value) {
|
|
50
53
|
var newValues = values.map(function (item) {
|
|
@@ -154,7 +154,7 @@ var TagList = function TagList(_ref) {
|
|
|
154
154
|
itemRef: /*#__PURE__*/(0, _react.createRef)()
|
|
155
155
|
});
|
|
156
156
|
}));
|
|
157
|
-
}, [items
|
|
157
|
+
}, [items]); // Count Row Tags
|
|
158
158
|
|
|
159
159
|
(0, _react.useLayoutEffect)(function () {
|
|
160
160
|
if (!withToggle) return false;
|