Replace the default dropdown in BulkAction with an ActionButton
I only have one bulkAction in my table and it is kind of annoying to have a dropdown that only contains one Action inside of it. I want to change the default dropdown and replace it with the deleteBulkAction. Is there a way to disable the dropdown?
5 Replies
I don’t think that’s possible without overwriting some blade files
Not that I can see either, but you should be able to see how the Export Action Button is handled within #alperenersoy-export and follow a similar principle for your action?
Isn’t that just a table header action?
Yep, but also gets the selected query, it's the closest you'll get to a bulk action button as far as I can see.
i'll try to implement a table header action instead if i can't replace the default dropdown. Thanks