set Action LinkColumn for Edit using wire:click #756
-
LinkColumn::make('Action') to call edit($id) method using livewire wire:click |
Beta Was this translation helpful? Give feedback.
Answered by
rappasoft
May 3, 2022
Replies: 1 comment
-
Try |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
priteshbarot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try
'wire:click.prevent' => 'edit('.$row->id.')',
to stop the default link behavior.