@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/cjs/index.js
CHANGED
|
@@ -28178,6 +28178,11 @@ const FieldArrayField = (props) => {
|
|
|
28178
28178
|
if (reason === xDataGrid.GridRowEditStartReasons.cellDoubleClick && detail)
|
|
28179
28179
|
event.defaultMuiPrevented = true;
|
|
28180
28180
|
},
|
|
28181
|
+
onRowEditStop: (params, event) => {
|
|
28182
|
+
if (params.reason === xDataGrid.GridRowEditStopReasons.rowFocusOut) {
|
|
28183
|
+
event.defaultMuiPrevented = true;
|
|
28184
|
+
}
|
|
28185
|
+
},
|
|
28181
28186
|
}, props.dataGridProps);
|
|
28182
28187
|
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs(material.Grid, { rowSpacing: 1, container: true, size: "grow", direction: "column", ...props.gridProps, children: [jsxRuntime.jsx(material.Grid, { size: 12, children: jsxRuntime.jsx(material.Typography, { variant: "body1", fontWeight: "bold", children: props.label }) }), jsxRuntime.jsx(material.Grid, { size: 12, children: jsxRuntime.jsx(xDataGrid.DataGrid, { ...dataGridProps }) })] }) }));
|
|
28183
28188
|
};
|