© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
prowler

Filament is saving relationship only on edit (update) pages but not on create.

Its the first time it happened to me and im not sure what im doing wrong. I have a BriefResource.php file which has 2 components which are relationships. one of them is a hasMany() relationship and the other one is many to many. I tried to copy and format the code here but it attached it as a paste file(?), never saw that in discord.
Anyway, both of these fields are not saving on the create page but work just fine when i edit a brief and update it. What could be the reason? The is no special manipulation in CreateBrief.php whatsoever.
message.txt4.43KB
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

Relationship not saving on update
FilamentFFilament / ❓┊help
8mo ago
Relationship in Form not saving on create action.
FilamentFFilament / ❓┊help
3y ago
Display some fields only on item-edit or item-create pages
FilamentFFilament / ❓┊help
2y ago
Required but only on create?
FilamentFFilament / ❓┊help
3y ago