© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
6 replies
Shrom

create and attach related models when creating resource

Hi there. First time trying/looking into filament to replace some of my own solution.
I have a Team model with hasmany relation to Uniform model.

I’m just wondering if it’s possible somehow from the Team create page to also create an amount of uniform models at the same time.

Any pointers to relevant docs or anything appreciated. Looking forward to diving in to this.
Solution
Just checked again. Repeater works with HasMany. So best to use a repeater: https://filamentphp.com/docs/3.x/forms/fields/repeater#integrating-with-an-eloquent-relationship
Repeater - Form Builder - Filament
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

Saving related items when editing/creating a resource
FilamentFFilament / ❓┊help
3y ago
Editing related models in their own Resource
FilamentFFilament / ❓┊help
2y ago
Create related resource with another relationship
FilamentFFilament / ❓┊help
10mo ago