@linzjs/step-ag-grid 35.2.0 → 35.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/step-ag-grid.esm.js
CHANGED
|
@@ -66716,15 +66716,16 @@ const GridPopoverContextProvider = (props2) => {
|
|
|
66716
66716
|
);
|
|
66717
66717
|
const field = props.colDef?.field ?? "";
|
|
66718
66718
|
const colId = props.colDef?.colId ?? field ?? "";
|
|
66719
|
+
const updatingKey = props.colDef?.field ?? props.colDef?.colId ?? "";
|
|
66719
66720
|
const updateValue = useCallback(
|
|
66720
66721
|
async (saveFn, tabDirection) => {
|
|
66721
66722
|
if (hasSaved.current) {
|
|
66722
66723
|
return true;
|
|
66723
66724
|
}
|
|
66724
66725
|
hasSaved.current = true;
|
|
66725
|
-
return saving ? false : await updatingCells({ selectedRows, field }, saveFn, setSaving, tabDirection);
|
|
66726
|
+
return saving ? false : await updatingCells({ selectedRows, field: updatingKey }, saveFn, setSaving, tabDirection);
|
|
66726
66727
|
},
|
|
66727
|
-
[
|
|
66728
|
+
[saving, selectedRows, updatingCells, updatingKey]
|
|
66728
66729
|
);
|
|
66729
66730
|
return /* @__PURE__ */ jsx(
|
|
66730
66731
|
GridPopoverContext.Provider,
|