@sumaris-net/ngx-components 2.5.2-rc1 → 2.5.2-rc2

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.
@@ -31030,25 +31030,28 @@ class AppAsyncTable {
31030
31030
  this.onConfirmEditCreateRow.next(row);
31031
31031
  return true; // Continue
31032
31032
  }
31033
- if (row.validator) {
31034
- // If pending: Wait end of validation
31035
- // TODO: remove when using async isValid() function
31036
- if (row.pending) {
31037
- yield AppFormUtils.waitWhilePending(row.validator);
31038
- }
31039
- // NOT confirmed = row has error
31040
- if (this.debug) {
31041
- console.warn('[table] Cannot confirm row, because invalid');
31042
- AppFormUtils.logFormErrors(row.validator, '[table] ');
31043
- }
31044
- // fix: mark all controls as touched to show errors
31045
- row.validator.markAllAsTouched();
31046
- // Compute row error, and propagate to table's error
31047
- if (this.propagateRowError) {
31048
- const error = this.getRowError(row);
31049
- this.setError(error);
31050
- }
31051
- }
31033
+ // if (row.validator) {
31034
+ // // If pending: Wait end of validation
31035
+ // // TODO: remove when using async isValid() function
31036
+ // if (row.pending) {
31037
+ // await AppFormUtils.waitWhilePending(row.validator);
31038
+ // }
31039
+ //
31040
+ // // NOT confirmed = row has error
31041
+ // if (this.debug) {
31042
+ // console.warn('[table] Cannot confirm row, because invalid');
31043
+ // AppFormUtils.logFormErrors(row.validator, '[table] ');
31044
+ // }
31045
+ //
31046
+ // // fix: mark all controls as touched to show errors
31047
+ // row.validator.markAllAsTouched();
31048
+ //
31049
+ // // Compute row error, and propagate to table's error
31050
+ // if (this.propagateRowError) {
31051
+ // const error = this.getRowError(row);
31052
+ // this.setError(error);
31053
+ // }
31054
+ // }
31052
31055
  // Not confirmed
31053
31056
  return false;
31054
31057
  });