Skip to content
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

[data grid] onCellEditStop is called when cell has error #11406

Closed
cherniavskii opened this issue Dec 13, 2023 · 1 comment · Fixed by #12747
Closed

[data grid] onCellEditStop is called when cell has error #11406

cherniavskii opened this issue Dec 13, 2023 · 1 comment · Fixed by #12747
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! feature: Editing Related to the data grid Editing feature

Comments

@cherniavskii
Copy link
Member

cherniavskii commented Dec 13, 2023

Steps to reproduce

Link to live example: https://codesandbox.io/p/sandbox/billowing-meadow-l9kgrf?file=%2Fsrc%2FDemo.tsx%3A41%2C22-41%2C33

Steps:

  1. Edit the cell in the value column
  2. Press Enter or click outside the cell

Current behavior

onCellEditStop is being called, while the cell stays in edit mode

Expected behavior

onCellEditStop is not being called, while the cell stays in edit mode

Context

This is the same issue as #11263, but for cell editing.

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: editing cellEditStop error

@cherniavskii cherniavskii added bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! feature: Editing Related to the data grid Editing feature labels Dec 13, 2023
Copy link

⚠️ This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@cherniavskii: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! feature: Editing Related to the data grid Editing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant