Support the ongoing development of →
Requests Input
Last updated 1 year ago.

Maybe I am wrong but I don't see an HTML form here and it looks like you are trying to submit the checkboxes using a link.

<form action="{{ route('user.tasks.destroy',array( $Task->id )) }}" method="post" >
<div class="dropdown">
        <input id="check1" name="deleteCheckedTask[]" type="checkbox" class="check" value="{{$ITEM_TO_DELETE->id}}">
        <span class="caret-hover caret"></span>
    <ul class="dropdown-menu" aria-labelledby="selDelete" role="menu">
        <li><input type="submit" value="Delete Selected" /></li>

Hi thanks for your answer and I see what you mean. I wanted to test your code but it changed the layout of the buttons: link:

I think it's because of the submit button (which I also don't see in the browser for some reason). I'm really tired at the moment, so I'm going to sleep now.


Why do you have the checkbox in a button?

I would have one checkbox per row, then a single "delete selected" button which submits the form


Sign in to participate in this thread!


Your banner here too?

superzaky superzaky Joined 9 Dec 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.