© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
danzzz

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
            )
->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')
            )
->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,
            )
->renderHook(
                'tables::toolbar.search.before', fn (): View => view('filament.test-view'),
                scopes: \App\Filament\Resources\TransactionResource\Pages\ManageTransactions::class,
            )
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

renderHook scopes don't work
FilamentFFilament / ❓┊help
3y ago
Returning Action in renderHook
FilamentFFilament / ❓┊help
8mo ago
renderHook() component appears unstyled
FilamentFFilament / ❓┊help
3y ago
Renderhook Cannot Received Dispatched Event
FilamentFFilament / ❓┊help
2y ago