@churchillliving/se-ui-toolkit 6.53.17 → 6.53.18

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.
@@ -3268,6 +3268,7 @@
3268
3268
  this.saveRecordArray = [];
3269
3269
  this.disabledSaveBtn = false;
3270
3270
  this.setDialogData = true;
3271
+ this.setDialogField = '';
3271
3272
  this.editModeChecked = true;
3272
3273
  this.editModeunCkecked = false;
3273
3274
  this.calendarFormat = 'mm/dd/y';
@@ -4057,15 +4058,16 @@
4057
4058
  setTimeout(function () {
4058
4059
  var _a, _b, _c, _d;
4059
4060
  _this.rowClickData = row;
4060
- // if(this.setDialogData){
4061
- // column['parentDialogData'] = column.data?.data;
4062
- // this.setDialogData = false;
4063
- // }
4061
+ if (_this.setDialogData || _this.setDialogField !== column.field) {
4062
+ column['parentDialogData'] = (_a = column.data) === null || _a === void 0 ? void 0 : _a.data;
4063
+ _this.setDialogData = false;
4064
+ _this.setDialogField = column.field;
4065
+ }
4064
4066
  if (column.data && column.data.data && row[column.field + '_obj']) {
4065
- column.data.data = (_a = row[column.field + '_obj']) === null || _a === void 0 ? void 0 : _a.dialogData;
4067
+ column.data.data = (_b = row[column.field + '_obj']) === null || _b === void 0 ? void 0 : _b.dialogData;
4066
4068
  }
4067
4069
  if (column.component && column.data && _this.rowClickData) {
4068
- column.data.data = autoSetLookupData((_b = column.data) === null || _b === void 0 ? void 0 : _b.data, _this.rowClickData);
4070
+ column.data.data = autoSetLookupData(column.parentDialogData, _this.rowClickData);
4069
4071
  var ref = _this.dialogService.open(column.component, column.data);
4070
4072
  var componentName = (_c = column.component) === null || _c === void 0 ? void 0 : _c.name;
4071
4073
  if (componentName) {