@eqproject/eqp-dynamic-module 2.9.29 → 2.9.30

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.
@@ -3510,7 +3510,6 @@ class ListValueFieldTemplateComponent {
3510
3510
  * Metodo per aggiornare il valore del campo quando questo è rappresentato da una formula.
3511
3511
  */
3512
3512
  updateField() {
3513
- console.log(this.field.FormFormGroup);
3514
3513
  if (this.field.ReadonlyIf) {
3515
3514
  this.field.Readonly = UtilityHelperService.EvaluateFieldFormula(this.field.ReadonlyIf, this.record, this.formulaObject);
3516
3515
  this.checkReadonly();
@@ -5843,8 +5842,13 @@ class DynamicModuleFieldFixComponent {
5843
5842
  if (this.field.DataGetterValueBase64String != null && this.field.DataGetterValueBase64String != "") {
5844
5843
  this.field.DataGetter = JSON.parse(atob(this.field.DataGetterValueBase64String));
5845
5844
  }
5846
- if (this.field.DataGetter != null && this.field.DataGetter.DataGetterType == DataGetterTypeEnum['Da modulo dinamico']) {
5847
- this.manageDMGetter();
5845
+ if (!this.record[this.field.Name]) {
5846
+ if (this.field.DataGetter != null && this.field.DataGetter.DataGetterType == DataGetterTypeEnum['Da modulo dinamico']) {
5847
+ this.manageDMGetter();
5848
+ }
5849
+ }
5850
+ else {
5851
+ this.dmloaded = true;
5848
5852
  }
5849
5853
  }
5850
5854
  //#endregion ngOnInit