F
Filament17mo ago
Abi

Using the `livewire` method on the Action class

When using the Action class on the table builder, there is a method livewire, how do I go about using it and how do I pass data? Here is what I have currently.
Action::make('view_license')->modalHeading('View License')
->livewire(app(ViewLicense::class))
Action::make('view_license')->modalHeading('View License')
->livewire(app(ViewLicense::class))
Solution:
I was trying to invoke a livewire class, but you answered me on the other question to include the livewire view in blade and use modalContent, so doing that now, but still have question on the other help post
Jump to solution
2 Replies
Patrick Boivin
Patrick Boivin17mo ago
What is the use-case for this?
Solution
Abi
Abi17mo ago
I was trying to invoke a livewire class, but you answered me on the other question to include the livewire view in blade and use modalContent, so doing that now, but still have question on the other help post
Want results from more Discord servers?
Add your server