-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix:#6141:DataTable:Column: onCellEditComplete is fired twice #6641
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
Hey @kl-nevermore, I think primereact/components/lib/datatable/BodyCell.js Lines 520 to 524 in 463ba5c
It should also update there the state ref, right? EditWell it must be something like: const editingRowData = getEditingRowData();
setEditingRowDataState(editingRowData);
editingRowDataStateRef.current = editingRowData; |
Yes, I missed this. |
@kl-nevermore thanks for this let me know when its ready for review! |
@melloware |
This is a much better fix and removes the hack i added! |
Fix #6141
Fix #6019
Fix #5556