Skip to content

Commit 5318382

Browse files
fix: use proper item comparison (#10411) (#10412)
Co-authored-by: Sascha Ißbrücker <sissbruecker@vaadin.com>
1 parent f1522eb commit 5318382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grid-pro/src/vaadin-grid-pro-inline-editing-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ export const InlineEditingMixin = (superClass) =>
549549
_updateItem(row, item) {
550550
if (this.__edited) {
551551
const { cell, model } = this.__edited;
552-
if (cell.parentNode === row && model.item !== item) {
552+
if (cell.parentNode === row && this.getItemId(model.item) !== this.getItemId(item)) {
553553
this._stopEdit();
554554
}
555555
}

0 commit comments

Comments
 (0)