Select multiple checkboxes and get ids in controller laravel
Select multiple checkboxes and get ids in controller laravel

Hi, I'm working on a Laravel project and I want to select multiple rows with checkbox and then send the rows' ids to a route or a controller (for example, in order to delete the items selected from the DB).
I've tried to use "Checkboxes" extension by gyrocode, in particular, this example:
https://www.gyrocode.com/projects/jquery-datatables-checkboxes/
The "action" of the form I created sends the inputs to a route, but when I try to get those inputs in the controller, it returns null.
How can I fix this?
Thanks!
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin