@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.
- package/fesm2022/iapps-ng-dhis2-ui.mjs +2 -1
- package/fesm2022/iapps-ng-dhis2-ui.mjs.map +1 -1
- package/lib/modules/form/utils/field-type.util.d.ts +1 -1
- package/lib/modules/form/utils/field.util.d.ts +1 -1
- package/lib/modules/program-entry-form/models/program-entry-form.config.d.ts +2 -0
- package/lib/modules/program-entry-form/program-entry-form.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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
|
}
|