renderHook scope dont work
dont't work, shows nowhere, should show on the table in the TransactionResource
->renderHook(
'tables::toolbar.search.before', fn (): View => view('filament.teste'), scopes: TransactionResource::class
)
works on all tables:
->renderHook(
'tables::toolbar.search.before', fn (): View => view('filament.teste')
)
anything wrong here with first snippet?Solution:Jump to solution
solution:
`->renderHook(
'tables::toolbar.search.before', fn (): View => view('filament.test-view'),
scopes: \App\Filament\Resources\TransactionResource\Pages\ManageTransactions::class,...
2 Replies