mmhglobal-dynamicform 2.0.0-beta.21 → 2.0.0-beta.22
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/README.md +4 -0
- package/esm2020/lib/services/main.service.mjs +3 -3
- package/esm2020/lib/zgrid/zgrid.component.mjs +3 -1
- package/fesm2015/mmhglobal-dynamicform.mjs +4 -2
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +4 -2
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2335,7 +2335,7 @@ class MainService {
|
|
|
2335
2335
|
fg.patchValue(resp);
|
|
2336
2336
|
}
|
|
2337
2337
|
fg.markAsPristine();
|
|
2338
|
-
if (_group.isCloseAfterSuccess && !_group.isCloneNew) {
|
|
2338
|
+
if ((_group.isCloseAfterSuccess || _group.isCloseAfterCreated) && !_group.isCloneNew) {
|
|
2339
2339
|
this.backNavigation(null, _group, this);
|
|
2340
2340
|
}
|
|
2341
2341
|
}
|
|
@@ -2387,7 +2387,7 @@ class MainService {
|
|
|
2387
2387
|
return this.afterUpdateModel(_group, zmodel);
|
|
2388
2388
|
}), tap$1((resp) => {
|
|
2389
2389
|
if (resp) {
|
|
2390
|
-
if (_group.isCloseAfterSuccess) {
|
|
2390
|
+
if (_group.isCloseAfterSuccess || _group.isCloseAfterUpdated) {
|
|
2391
2391
|
this.backNavigation(null, _group, this);
|
|
2392
2392
|
}
|
|
2393
2393
|
}
|
|
@@ -7581,6 +7581,7 @@ class ZgridComponent extends DataListingFieldBase {
|
|
|
7581
7581
|
else {
|
|
7582
7582
|
this.zgrid.grid.data = gData;
|
|
7583
7583
|
}
|
|
7584
|
+
this.inlineEditedFormGroups = {};
|
|
7584
7585
|
this.createFormControls(this.zgrid.gridColumns);
|
|
7585
7586
|
const gridData = this.getGridData();
|
|
7586
7587
|
this.setupPopoverFeature(this.columns, gridData);
|
|
@@ -7964,6 +7965,7 @@ class ZgridComponent extends DataListingFieldBase {
|
|
|
7964
7965
|
}
|
|
7965
7966
|
getData() {
|
|
7966
7967
|
if (this.zgrid) {
|
|
7968
|
+
this.inlineEditedFormGroups = {};
|
|
7967
7969
|
this.zgrid.getDataBinding();
|
|
7968
7970
|
}
|
|
7969
7971
|
}
|