Hello,
I use unsetDelete() but the delete still possible. If you click on the action checkbox, the delete appear, and it's possible to delete the row.
Big problem.
A solution ?
⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠
Posted 01 March 2019 - 19:00 PM
Hello,
I use unsetDelete() but the delete still possible. If you click on the action checkbox, the delete appear, and it's possible to delete the row.
Big problem.
A solution ?
Posted 02 March 2019 - 15:15 PM
I use :
$crud->callbackDelete(function ($stateParameters) { return $stateParameters; }); //delete workaround
as workaround, just do that the delete action don't work. It's not a good solution, but do that the customer can't crash her web site !
Urgent solution needed.
Posted 02 March 2019 - 15:28 PM
Finally, is working fine by adding
$crud->unsetDeleteMultiple();