@acvl/frontend-components 0.0.28 → 0.0.29
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/cjs/index.js +5 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +5 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -28158,6 +28158,11 @@ const FieldArrayField = (props) => {
|
|
|
28158
28158
|
if (reason === GridRowEditStartReasons.cellDoubleClick && detail)
|
|
28159
28159
|
event.defaultMuiPrevented = true;
|
|
28160
28160
|
},
|
|
28161
|
+
onRowEditStop: (params, event) => {
|
|
28162
|
+
if (params.reason === GridRowEditStopReasons.rowFocusOut) {
|
|
28163
|
+
event.defaultMuiPrevented = true;
|
|
28164
|
+
}
|
|
28165
|
+
},
|
|
28161
28166
|
}, props.dataGridProps);
|
|
28162
28167
|
return (jsx(Fragment, { children: jsxs(Grid, { rowSpacing: 1, container: true, size: "grow", direction: "column", ...props.gridProps, children: [jsx(Grid, { size: 12, children: jsx(Typography$1, { variant: "body1", fontWeight: "bold", children: props.label }) }), jsx(Grid, { size: 12, children: jsx(DataGrid, { ...dataGridProps }) })] }) }));
|
|
28163
28168
|
};
|