@dartech/arsenal-ui 1.3.34 → 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 +4 -4
- 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
|
})]
|
@@ -4728,14 +4728,14 @@ const CreatePropertyFormFields = ({
|
|
4728
4728
|
spacing: 2
|
4729
4729
|
}, {
|
4730
4730
|
children: [jsx(Grid$1, {
|
4731
|
-
children: jsx(
|
4731
|
+
children: jsx(ControlInput, {
|
4732
4732
|
required: true,
|
4733
4733
|
control: control,
|
4734
4734
|
name: `${propertyFieldName}.key`,
|
4735
4735
|
label: "Key"
|
4736
4736
|
})
|
4737
4737
|
}), jsx(Grid$1, {
|
4738
|
-
children: jsx(
|
4738
|
+
children: jsx(ControlInput, {
|
4739
4739
|
required: true,
|
4740
4740
|
control: control,
|
4741
4741
|
name: `${propertyFieldName}.name`,
|