Wednesday, March 8, 2017

Multiple delete in Laravel

I'm currently trying to do multiple deletion in Laravel 5.3. I'd like to be something just like how emails are deleted using checkbox.

Something like this

But before deleting, I'd like to do confirmation using a modal.

Modal Confirmation

How can I pass the array data to my controller without creating another function deleteMultiple() and just use the destroy method in Laravel?



via Gabriel Luna

Advertisement