data icon indicating copy to clipboard operation
data copied to clipboard

Default UserAction 'delete' should have a confirmation message

Open mkrecek234 opened this issue 2 years ago • 4 comments

Steps to reproduce:

  • Click on a delete button in any Crud
  • Record will be deleted immediately

Expected behaviour: By default, there should be a confirmation required before deletion

So adding 'confirmation' = 'Do you really want to delete this record?'here

https://github.com/atk4/data/blob/448e3085699c9a1b2591a777129b4f9bbf317704/src/Model/UserActionsTrait.php#L135

mkrecek234 avatar Dec 21 '22 09:12 mkrecek234