@churchillliving/se-ui-toolkit 6.53.476 → 6.53.477

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.
@@ -5048,12 +5048,14 @@
5048
5048
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
5049
5049
  delete selectedRow[column.field + '-data'];
5050
5050
  delete selectedRow[column.field + '_secondType'];
5051
- if (column.type === exports.EGridColumnType.LOOKUP_INPUT && ((_a = selectedRow[column.field + '_obj']) === null || _a === void 0 ? void 0 : _a.text) &&
5051
+ if (column.type === exports.EGridColumnType.LOOKUP_INPUT &&
5052
5052
  (column.allowSave === true || column.allowSave === undefined)) {
5053
5053
  if (typeof (selectedRow[column.field]) === 'object') {
5054
- selectedRow[column.field] = (_b = selectedRow[column.field]) === null || _b === void 0 ? void 0 : _b.value;
5054
+ selectedRow[column.field] = (_a = selectedRow[column.field]) === null || _a === void 0 ? void 0 : _a.value;
5055
+ }
5056
+ if ((_b = selectedRow[column.field + '_obj']) === null || _b === void 0 ? void 0 : _b.text) {
5057
+ lookupInfo[column.field] = selectedRow[column.field + '_obj'].text;
5055
5058
  }
5056
- lookupInfo[column.field] = selectedRow[column.field + '_obj'].text;
5057
5059
  }
5058
5060
  if (column.formatter) {
5059
5061
  var value = selectedRow[column.field];