© 2026 Hedgehog Software, LLC

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

How to test a custom action?

In v2 this used to work
livewire(EditOrder::class, [
        $order->getKey(),
    ])
        ->callPageAction('return');
livewire(EditOrder::class, [
        $order->getKey(),
    ])
        ->callPageAction('return');


but in V3 it gives
Method Illuminate\Http\Response::callPageAction does not exist.
Method Illuminate\Http\Response::callPageAction does not exist.


I changed callPageAction to runAction and now I'm getting
Unable to call component method. Public method [return] not found on component
Unable to call component method. Public method [return] not found on component
Solution
Try
callAction()
callAction()
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

how to test a view modal action?
FilamentFFilament / ❓┊help
2y ago
How to test Infolist Action?
FilamentFFilament / ❓┊help
2y ago
How to close an ActionGroup dropdown with a custom action function
FilamentFFilament / ❓┊help
3y ago
ActionGroup Action caching custom view
FilamentFFilament / ❓┊help
9mo ago