How can we pass a record object to the modal content
Hello,
I'm having a list record through the livewire component and I've used
Tables\Actions\ViewAction
and wanted to display custom modal content through this. But I don't know some how $record
is not passing through the modal content blade file.
1 Reply
->modalContent(fn ($record) => view('livewire.modal-content', ['record' => $record))