© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•12mo ago•
2 replies
angel87413

Problems using Repeater in an action

Hello, I'm trying to implement a Repeater with a relationship, the point is that I want to do some validations with the data that is entered in the Repeater before they are saved, my problem is that when I use the mutateRelationshipDataBeforeCreateUsing, it doesn't return the entire array of data that is inside the Repeater, has anyone had something similar happen to them, THANKS

Action::make('Regisrar Tramite')
->icon('heroicon-o-clipboard-document-check')
->form([
Section::make()
->columns(2)
->schema([
......
]),
Repeater::make('tramites')
->relationship()
->schema([
........................
])
->mutateRelationshipDataBeforeCreateUsing(function ($record, $data) {
dd($record, $data);
})
->columns(3)
->addActionLabel('Agregar Trámite')
->collapsible()
])

I attach the code used for the action, and the test image that only returns the first batch of data from the repeat, and not like this or others
image.png
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

Problems with an action.
FilamentFFilament / ❓┊help
3y ago
repeater action
FilamentFFilament / ❓┊help
4mo ago
Adding an action to a repeater.
FilamentFFilament / ❓┊help
3y ago
Problems using JSON from Repeater and saving in mysql
FilamentFFilament / ❓┊help
3y ago