React-admin: Missing confirmation dialog on Delete/bulkDelete

Created on 18 Apr 2018  路  2Comments  路  Source: marmelab/react-admin

there seems to be missing some sort of confirmation for delete action

in the v1 there was custom page with confirmation

in the new version it would be nice to have same or at least to have modal dialog to confirm the delete action

same for bulk actions

all these are potentionally destructive actions, so it's better for user to confirm it
(could be optionally disablable?)

((and no, weird undo button in notification is not replacement for confirmation))

Most helpful comment

You can use this gist for delete with confirmation modal -
https://gist.github.com/adylevy/759900e7c50f9ccebe9f037bc5e32506

All 2 comments

There is no confirmation dialog. It has been replaced by the "undo" feature, which serves the same purpose but provides a better user experience. See rationale in #1589.

And if you want to add confirmation dialog, you can still create your own <Delete> button with a dialog built in.

You can use this gist for delete with confirmation modal -
https://gist.github.com/adylevy/759900e7c50f9ccebe9f037bc5e32506

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alukito picture alukito  路  3Comments

fzaninotto picture fzaninotto  路  3Comments

phacks picture phacks  路  3Comments

kdabir picture kdabir  路  3Comments

nicgirault picture nicgirault  路  3Comments