Table / EditableColumn: onEditComplete emitts old data value and not the new one as documented #13708
Labels
LTS-PORTABLE
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The "data" field of the TableEditCompleteEvent passed to the onEditComplete handler contains the old value of the field before it was edited. But according to the API documentation for TableEditCompleteEvent the "data" field should contain the "New value.".
Environment
Its reproducible easily with the StackBlick generated from the PrimeNG documentation links
Reproducer
https://stackblitz.com/edit/hucfok?file=src%2Fapp%2Fdemo%2Ftable-cell-edit-demo.ts%3AL22,src%2Fapp%2Fdemo%2Ftable-cell-edit-demo.html
Angular version
16.2.0
PrimeNG version
16.3.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.20.0
Browser(s)
Edge 117, Chromium 117
Steps to reproduce the behavior
Expected behavior
On step 4. onEditComplete event.data should contain the new updated value, not the old one
The text was updated successfully, but these errors were encountered: