Skip to content

Commit

Permalink
Merge pull request #14238 from primefaces/issue-14221
Browse files Browse the repository at this point in the history
Table |  cell edit fix
  • Loading branch information
cetincakiroglu authored Nov 29, 2023
2 parents 80cfde2 + c974ff8 commit 2a10141
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4301,6 +4301,11 @@ export class EditableColumn implements OnChanges, AfterViewInit, OnDestroy {
DomHandler.invokeElementMethod(targetCell, 'click');
event.preventDefault();
}
else{
if (this.dt.isEditingCellValid()) {
this.closeEditingCell(true, event);
}
}
}
}

Expand Down

1 comment on commit 2a10141

@vercel
Copy link

@vercel vercel bot commented on 2a10141 Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.