You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now I switched from using async onRowsDelete to the sync version of it. I think #835 main issue is using MaterialUI for the design which is not transpiling correctly for the webpack is that right?
When handling onRowsDelete and returning false in an async function, the selected row still gets deleted even though it shouldn't
Expected Behavior
Returning false in an async function should prevent deletion of the selected row as the documentation stated
Current Behavior
Returning false in an async function still deletes the selected row anyway triggering the re-render state of the table.
Steps to Reproduce (for bugs)
Will result in MUIDataTable deleting the selected row even though the return value is false.
When the handleDelete is not an async function, it works as expected.
Online example is here
Your Environment
The text was updated successfully, but these errors were encountered: