F
Filament2y 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
What is the use-case for this?
Solution
Abi
Abi2y 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

Did you find this page helpful?