@sumaris-net/ngx-components 1.19.14 → 1.19.15-rc1
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/bundles/sumaris-net.ngx-components.umd.js +7 -0
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/table/table.class.js +7 -1
- package/fesm2015/sumaris-net.ngx-components.js +6 -0
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -26069,8 +26069,15 @@
|
|
|
26069
26069
|
return true;
|
|
26070
26070
|
};
|
|
26071
26071
|
AppTable.prototype.confirmAndForward = function (event, row) {
|
|
26072
|
+
var _this = this;
|
|
26073
|
+
var _a;
|
|
26072
26074
|
row = row || this.editedRow;
|
|
26073
26075
|
if (!this.confirmEditCreate(event, row)) {
|
|
26076
|
+
// If pending: Wait end of validation, then loop
|
|
26077
|
+
if ((_a = row.validator) === null || _a === void 0 ? void 0 : _a.pending) {
|
|
26078
|
+
AppFormUtils.waitWhilePending(row.validator).then(function () { return _this.confirmAndForward(event, row); });
|
|
26079
|
+
return false;
|
|
26080
|
+
}
|
|
26074
26081
|
return false;
|
|
26075
26082
|
}
|
|
26076
26083
|
// Edit next row
|