F
Filament8mo ago
Abi

Is it possible to specify the scope of render hooks to a Panel?

I have 2 filament panels in my app and I want to set the render hook only to a specific panel. How can I do this?
Solution:
Just add it to the panel you need it on.
$panel->renderHook()
$panel->renderHook()
...
Jump to solution
2 Replies
Solution
awcodes
awcodes8mo ago
Just add it to the panel you need it on.
$panel->renderHook()
$panel->renderHook()
Abi
AbiOP8mo ago
ah ok, couldn't find this in the docs, thank you
Want results from more Discord servers?
Add your server