igniteui-angular 15.0.8 → 15.0.9
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.
|
@@ -24703,8 +24703,6 @@ class IgxRowCrudState extends IgxCellCrudState {
|
|
|
24703
24703
|
this.updateRowEditData(this.row, this.row.newData);
|
|
24704
24704
|
args = this.rowEdit(event);
|
|
24705
24705
|
if (args.cancel) {
|
|
24706
|
-
delete this.row.newData;
|
|
24707
|
-
this.grid.transactions.clear(this.row.id);
|
|
24708
24706
|
return args;
|
|
24709
24707
|
}
|
|
24710
24708
|
}
|
|
@@ -24984,10 +24982,13 @@ class IgxGridCRUDService extends IgxRowAddCrudState {
|
|
|
24984
24982
|
}
|
|
24985
24983
|
}
|
|
24986
24984
|
else {
|
|
24985
|
+
// needede because this.cell is null after exitCellEdit
|
|
24986
|
+
// thus the next if is always false
|
|
24987
|
+
const cell = this.cell;
|
|
24987
24988
|
this.exitCellEdit(event);
|
|
24988
|
-
if (!this.grid.rowEditable &&
|
|
24989
|
-
const value = this.grid.transactions.getAggregatedValue(
|
|
24990
|
-
this.grid.validation.update(
|
|
24989
|
+
if (!this.grid.rowEditable && cell) {
|
|
24990
|
+
const value = this.grid.transactions.getAggregatedValue(cell.id.rowID, true) || cell.rowData;
|
|
24991
|
+
this.grid.validation.update(cell.id.rowID, value);
|
|
24991
24992
|
}
|
|
24992
24993
|
}
|
|
24993
24994
|
args = this.updateRow(commit, event);
|