© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
8 replies
Xavi

How to send parameter to CreateAction?

I have a dinamic page to list Questions Models based by url query string altering query on table like this:

return $table
        ->query(function () {
            return Question::query()->where('module_id', request()->route('record'));
        })
        ->columns([
            Tables\Columns\TextColumn::make('subject')
                ->searchable()
                ->sortable(),
        ]);
return $table
        ->query(function () {
            return Question::query()->where('module_id', request()->route('record'));
        })
        ->columns([
            Tables\Columns\TextColumn::make('subject')
                ->searchable()
                ->sortable(),
        ]);


on List resource i have a CreateAction button. How can i send to this modal current request value?
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

Pass parameter from RelationManager createAction to form
FilamentFFilament / ❓┊help
2y ago
send parameter to create record page
FilamentFFilament / ❓┊help
2y ago
How to include a different resource CreateAction in resource CreateAction?
FilamentFFilament / ❓┊help
2y ago
How to move CreateAction inside HeaderActions
FilamentFFilament / ❓┊help
16mo ago