-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DataGrid] Preprocess edit cell props on backspace/delete #15151
Conversation
Deploy preview: https://deploy-preview-15151--material-ui-x.netlify.app/ |
Can you add a test for this? |
@arminmeh I have added a basic test for cell and row editing - anything else you think should be tested? |
Ignore 😆 |
Calls
preProcessEditCellProps
when a cell contents is deleted by the backspace/delete key.Before: https://codesandbox.io/p/sandbox/15151-preprocess-edit-cell-on-delete-after-forked-7vwlyg
After: https://codesandbox.io/p/sandbox/elegant-pond-nchrgq
Closes #15058