Skip to content

Commit

Permalink
Fix onEditorCallback row data not being updated (#6685)
Browse files Browse the repository at this point in the history
  • Loading branch information
didix16 authored May 28, 2024
1 parent 063c100 commit 31e11de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/lib/datatable/BodyCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ export const BodyCell = React.memo((props) => {
if (currentData) {
ObjectUtils.mutateFieldData(currentData, field, val);
}

editingRowDataStateRef.current = editingRowData;
};

const onClick = (event) => {
Expand Down

0 comments on commit 31e11de

Please sign in to comment.