@iapps/ng-dhis2-ui 1.2.89 → 1.2.90

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.
@@ -7313,6 +7313,7 @@ class ProgramEntryFormConfig {
7313
7313
  this.displayType = 'FLAT';
7314
7314
  this.submitButtonLabel = 'Submit';
7315
7315
  this.cancelButtonLabel = 'Cancel';
7316
+ this.updateTeiOrgUnit = false;
7316
7317
  Object.assign(this, config);
7317
7318
  }
7318
7319
  }
@@ -7775,7 +7776,7 @@ class ProgramEntryFormModule {
7775
7776
  }
7776
7777
  #updateInstance(dataValues) {
7777
7778
  this.instance.update((instance) => {
7778
- instance?.updateDataValues(dataValues);
7779
+ instance?.updateDataValues(dataValues, this.config().updateTeiOrgUnit);
7779
7780
  return instance;
7780
7781
  });
7781
7782
  }