renderHook scope dont work
dont't work, shows nowhere, should show on the table in the TransactionResource
works on all tables:
anything wrong here with first snippet?
->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
solution:
->renderHook(
'tables::toolbar.search.before', fn (): View => view('filament.test-view'),
scopes: \App\Filament\Resources\TransactionResource\Pages\ManageTransactions::class,
)