© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
22 replies
dyo

get form data in after() method

How can i get form data in after() in CreateAction class?
i'm using modal form..

i have a code something like this

Tables\Actions\CreateAction::make()
    ->mutateFormDataUsing(function (array $data) {
        unset($data['setoran_id']);

        return $data;
    })->after(function (array $data) {
        // I want to use $data['setoran_id'] in here..
    }),
Tables\Actions\CreateAction::make()
    ->mutateFormDataUsing(function (array $data) {
        unset($data['setoran_id']);

        return $data;
    })->after(function (array $data) {
        // I want to use $data['setoran_id'] in here..
    }),
Solution
got it,

i'm using $livewire->mountedTableActionData to get the forms value in after()..

thanks for @awcodes and @Leandro Ferreira for trying to help me..
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

calling method to get data
FilamentFFilament / ❓┊help
3y ago
How to get data repeater in handleProcessCreation() method ?
FilamentFFilament / ❓┊help
2y ago
Repeater get data from form
FilamentFFilament / ❓┊help
17mo ago
get form data from action
FilamentFFilament / ❓┊help
3y ago