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

ilaif picture ilaif  路  3Comments

marknelissen picture marknelissen  路  3Comments

nicgirault picture nicgirault  路  3Comments

waynebloss picture waynebloss  路  3Comments

Dragomir-Ivanov picture Dragomir-Ivanov  路  3Comments