I'm using primevue datatables in my web app and it works great, especially the in place editing system.
Suddenly, it stopped working. Now if I click the cell the input text appears, but if I press enter the resulting text (and underlying data) stay the same, it doesn't save my input.
Troubleshooting I found that it works if I add to the datatable @cell-edit-complete="onCellEditComplete" with the code:
Code: Select all
const onCellEditComplete = (event) => {
let { data, newValue, field } = event;
data[field] = newValue;
};
Anyone can have an idea about this issue? Has something changed in the datatables source code?
Thanks a lot