© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
IndomieRendang

Anonymous Action doesn't work correctly inside repeater?

Repeater::make('items')
    ->schema([
        TextInput::make('name'),
        Actions::make([
            Action::make('set_default')
                ->action(fn ($get) => dd($get('name'))
            ]),
    ]),
Repeater::make('items')
    ->schema([
        TextInput::make('name'),
        Actions::make([
            Action::make('set_default')
                ->action(fn ($get) => dd($get('name'))
            ]),
    ]),


From the example above, the
dd
dd
will always get the same state from the first row, no matter how many we have the row in the repeater.

I can confirm that the state path of that action container are the same across repeater rows. So they also share the loading state, means when an action is loading, the others are loading too.

But I have no idea to fix it.
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

Repeater doesn't work inside builder
FilamentFFilament / ❓┊help
6mo ago
repeater - anonymous action - fillForm
FilamentFFilament / ❓┊help
3y ago
Input field inside repeater don't work / get validated correctly
FilamentFFilament / ❓┊help
3y ago
Associate Action doesn't work
FilamentFFilament / ❓┊help
2y ago