-
Hello everyone!, I added to make the rows clickable:
The issue I'm facing is that when I select a checkbox to perform bulk actions, the modal opens unintentionally. I would like to prevent the modal from opening when the checkbox is selected. Could you assist me in resolving this issue? Thank you! Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
As you're using AlpineJS, any click on the "tr" element will result in wire:click being fired. If you add this to your configure(), then it should ensure that the checkbox doesn't interact with your "tr" wide on-click public function configure(): void
{
$this->setBulkActionsTdCheckboxAttributes([
'x-on:click.stop' => '',
'default' => true
]); |
Beta Was this translation helpful? Give feedback.
As you're using AlpineJS, any click on the "tr" element will result in wire:click being fired.
If you add this to your configure(), then it should ensure that the checkbox doesn't interact with your "tr" wide on-click