© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
4 replies
giapele

nested repeater extraItemActions

I have 2 nested repeaters and on the second I have extraItemActions and I have mountUsing and the $record for somereason is the data from the parent repeater and not the child
here is the code:

Repeater::make('Tasklists')
->relationship('tasklists')
->schema([
TextInput::make('name')
->label('Tasklist Name')
->required(),
Repeater::make('Cards')
->relationship('cards')
->schema([... ])
->extraItemActions([
Action::make('editCard')
->icon('heroicon-o-pencil')
->mountUsing(function (Forms\ComponentContainer $form, $record) {
log::info('', ['record' => $record]);
})
->action(function ($record, array $data) {
...
})
->form([... ])

])
])

->label('Cards')
->addActionLabel('Add New Card'),
])

->columnSpan('full')
->grid(5)
->addActionLabel('Add New Tasklist'),
])
if I log $record->cards I get all cards but i don't know the id of the card I am currently editing
Solution
try using
arguments
arguments
to get the current item
https://filamentphp.com/docs/3.x/forms/fields/repeater#adding-extra-item-actions-to-a-repeater
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
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

extraItemActions method on Repeater
FilamentFFilament / ❓┊help
3y ago
Repeater with ActionGroup in extraItemActions
FilamentFFilament / ❓┊help
12mo ago
Nested Repeater
FilamentFFilament / ❓┊help
2y ago
Trigger a modal action from within Repeater extraItemActions
FilamentFFilament / ❓┊help
5mo ago