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
|
@@ -2330,7 +2330,7 @@ class MainService {
|
|
|
2330
2330
|
fg.patchValue(resp);
|
|
2331
2331
|
}
|
|
2332
2332
|
fg.markAsPristine();
|
|
2333
|
-
if (_group.isCloseAfterSuccess && !_group.isCloneNew) {
|
|
2333
|
+
if ((_group.isCloseAfterSuccess || _group.isCloseAfterCreated) && !_group.isCloneNew) {
|
|
2334
2334
|
this.backNavigation(null, _group, this);
|
|
2335
2335
|
}
|
|
2336
2336
|
}
|
|
@@ -2382,7 +2382,7 @@ class MainService {
|
|
|
2382
2382
|
return this.afterUpdateModel(_group, zmodel);
|
|
2383
2383
|
}), tap$1((resp) => {
|
|
2384
2384
|
if (resp) {
|
|
2385
|
-
if (_group.isCloseAfterSuccess) {
|
|
2385
|
+
if (_group.isCloseAfterSuccess || _group.isCloseAfterUpdated) {
|
|
2386
2386
|
this.backNavigation(null, _group, this);
|
|
2387
2387
|
}
|
|
2388
2388
|
}
|
|
@@ -7562,6 +7562,7 @@ class ZgridComponent extends DataListingFieldBase {
|
|
|
7562
7562
|
else {
|
|
7563
7563
|
this.zgrid.grid.data = gData;
|
|
7564
7564
|
}
|
|
7565
|
+
this.inlineEditedFormGroups = {};
|
|
7565
7566
|
this.createFormControls(this.zgrid.gridColumns);
|
|
7566
7567
|
const gridData = this.getGridData();
|
|
7567
7568
|
this.setupPopoverFeature(this.columns, gridData);
|
|
@@ -7945,6 +7946,7 @@ class ZgridComponent extends DataListingFieldBase {
|
|
|
7945
7946
|
}
|
|
7946
7947
|
getData() {
|
|
7947
7948
|
if (this.zgrid) {
|
|
7949
|
+
this.inlineEditedFormGroups = {};
|
|
7948
7950
|
this.zgrid.getDataBinding();
|
|
7949
7951
|
}
|
|
7950
7952
|
}
|