@dartech/arsenal-ui 1.3.35 → 1.3.36
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -639,11 +639,11 @@ const ControlRadio = ({
|
|
639
639
|
value: value,
|
640
640
|
onChange: customOnChange ? customOnChange : onChange
|
641
641
|
}, {
|
642
|
-
children: _values.map(item => jsx(FormControlLabel, {
|
642
|
+
children: _values.map((item, i) => jsx(FormControlLabel, {
|
643
643
|
value: getValue(item),
|
644
644
|
control: jsx(Radio, {}),
|
645
645
|
label: getLabel(item)
|
646
|
-
}))
|
646
|
+
}, i))
|
647
647
|
})), !hideErrorMessage && (error === null || error === void 0 ? void 0 : error.message) && jsx(FormHelperText, {
|
648
648
|
children: error.message
|
649
649
|
})]
|