diff --git a/docs/data/data-grid/editing/editing.md b/docs/data/data-grid/editing/editing.md index 11a5a918e01e..bdeaf6a00dd0 100644 --- a/docs/data/data-grid/editing/editing.md +++ b/docs/data/data-grid/editing/editing.md @@ -233,17 +233,6 @@ While the promise is not resolved, the edit component will receive an `isProcess {{"demo": "ValidateServerNameGrid.js", "bg": "inline", "defaultCodeOpen": false}} -:::warning -If the user performs an action that saves the changes and exits the edit mode (e.g. pressing Enter) while the props are still being processed, the changes will be discarded upon exit. -To avoid this, use the `disableIgnoreModificationsIfProcessingProps` prop to keep the cell or row in edit mode while props are processed: - -```tsx - -``` - -In v6, this prop will be removed and the editing API will behave, by default, like if it was enabled. -::: - ## Persistence The `processRowUpdate` prop is called when the user performs an action to [stop editing](#stop-editing). diff --git a/docs/data/migration/migration-data-grid-v5/migration-data-grid-v5.md b/docs/data/migration/migration-data-grid-v5/migration-data-grid-v5.md index 52403c9b6ff8..ff58edc63364 100644 --- a/docs/data/migration/migration-data-grid-v5/migration-data-grid-v5.md +++ b/docs/data/migration/migration-data-grid-v5/migration-data-grid-v5.md @@ -38,6 +38,11 @@ Below are described the steps you need to make to migrate from v5 to v6. - The `selectionChange` event was renamed to `rowSelectionChange`. +### Removed props + +- The `disableIgnoreModificationsIfProcessingProps` prop was removed and its behavior when `true` was incorporated as the default behavior. + The old behavior can be restored by using `apiRef.current.stopRowEditMode({ ignoreModifications: true })` or `apiRef.current.stopCellEditMode({ ignoreModifications: true })`. +