@churchillliving/se-ui-toolkit 6.53.114 → 6.53.118

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.
@@ -1198,7 +1198,12 @@
1198
1198
  (formField.label && formField.label.toString().toLowerCase() === (field === null || field === void 0 ? void 0 : field.toLowerCase()))) {
1199
1199
  return props.map(function (prop) {
1200
1200
  if (formField.hasOwnProperty(prop.name)) {
1201
- return (formField[prop.name] = prop.value);
1201
+ if (prop.name = 'label' && typeof (prop.name) === 'object') {
1202
+ return (formField[prop.name].name = prop.value);
1203
+ }
1204
+ else {
1205
+ return (formField[prop.name] = prop.value);
1206
+ }
1202
1207
  }
1203
1208
  });
1204
1209
  }