Skip to content

DataTable cell editing regression #1357

Closed
@blurbiness

Description

@blurbiness

DataTable in cell editing is not working properly in 3.5.1.
It seems that row index provided in editor slot props is not correct.

Error is reproduced in the showcase page, Advanced Cell Editing sample:
https://primefaces.org/primevue/showcase/#/datatable/edit
If a cell is edited and then Enter or Tab is pressed, edited value is lost.

In a working app where the same approach as Advenced Cell Editing example had been adopted, I had detected that the row index provided in <template #editor="slotProps"> was not correct. Same code without any modification worked as expected up to 3.4.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions