© 2026 Hedgehog Software, LLC

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

Redirects

I want to Redirect from a page to another page,..page is get redirecting i need to send data with it..
Action::make('pay_fees')
->action(function (array $data, $record): void {
             Redirect::to('app/student-reg-fee-reciept')->with(['student' => $record]);
            })
Action::make('pay_fees')
->action(function (array $data, $record): void {
             Redirect::to('app/student-reg-fee-reciept')->with(['student' => $record]);
            })

the data in another page showing null
public function mount(Request $request)
    {
      
        dd($request->get('student'));
        $this->record = Student::query()->find($request->get('student'));

    }
public function mount(Request $request)
    {
      
        dd($request->get('student'));
        $this->record = Student::query()->find($request->get('student'));

    }
...how to get data in mount
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

Test tenancy redirects
FilamentFFilament / ❓┊help
13mo ago
Redirects with Notifications?
FilamentFFilament / ❓┊help
3y ago
Redirects when using tenantDomain
FilamentFFilament / ❓┊help
7mo ago
emailVerification redirects to login
FilamentFFilament / ❓┊help
12mo ago