© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
H.Bilbao

Resource repeater save record field inside relation manager

Hello, I have a resource with a repeater. Inside the repeater I have a field that I save using mutate:
->mutateRelationshipDataBeforeCreateUsing(function (array $data, Get $get): array {
   $data['ticket_id'] = $get('ticket_id');
   return $data;
})
->mutateRelationshipDataBeforeCreateUsing(function (array $data, Get $get): array {
   $data['ticket_id'] = $get('ticket_id');
   return $data;
})

Now I want to use the resource within a relationship manager, but I don't know how to pass the ticket_id, currently it gives an error that it cannot be null.
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

Relation Manager + Repeater?
FilamentFFilament / ❓┊help
3y ago
Render relation manager inside resource form tab?
FilamentFFilament / ❓┊help
3y ago
relation manager record information
FilamentFFilament / ❓┊help
2y ago
How to access parent record inside repeater field?
FilamentFFilament / ❓┊help
3y ago