© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
8 replies
Jean Roumeau

Is it possible to display a resource create form within a table header Bulk action.

I need to associate multiple resources with another new resource.

For this I have a bulk action in a table that opens up a modal and I can add a form in that action. But I don't know if there is a way to instead of adding the form on the action I can add an already existing create resource form.

I could load the resource form with CreatePage::form(). But that doesn't seem to keep the original resource on the form and instead uses the resource from the table.
Solution
Move your document form into the model. Make a static function called getForm() and return array.

In your document resources call the getForm()
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

Action within form to redirect to different resource create
FilamentFFilament / ❓┊help
2y ago
Table within Create Form.
FilamentFFilament / ❓┊help
10mo ago
Is it possible to load a table inside an Action Form?
FilamentFFilament / ❓┊help
2y ago
Create table header action question...
FilamentFFilament / ❓┊help
3y ago