@eqproject/eqp-dynamic-module 2.7.23 → 2.7.24

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.
@@ -4439,14 +4439,18 @@ class DbgetterComponent {
4439
4439
  if (currentRelation != null) {
4440
4440
  if (currentRelation.actualvalue != null && this.record[fieldRelated] != currentRelation.actualvalue) {
4441
4441
  console.log("this.record[fieldRelated] HA CAMBIATO VALORE!!", this.field.Name, fieldRelated, this.record[fieldRelated], this.record);
4442
+ currentRelation.actualvalue = this.record[fieldRelated];
4443
+ currentRelation.loaded = true;
4444
+ fieldWithRelation.QueryPropertyValue = this.record[fieldRelated];
4442
4445
  this.record[this.field.Name] = '';
4443
4446
  }
4444
4447
  if (currentRelation.actualvalue == null && this.record[fieldRelated] != null) {
4445
4448
  console.log("this.record[fieldRelated] NON E' PIU' NULL!! :)", this.field.Name, fieldRelated, this.record[fieldRelated], this.record);
4449
+ currentRelation.actualvalue = this.record[fieldRelated];
4446
4450
  currentRelation.loaded = true;
4447
- this.checkRelations();
4448
4451
  fieldWithRelation.QueryPropertyValue = this.record[fieldRelated];
4449
4452
  }
4453
+ this.checkRelations();
4450
4454
  }
4451
4455
  }
4452
4456
  }, 1000);