© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
26 replies
Tetracyclic

formatStateUsing on simple repeater component

Is there a reasonable way to apply
formatStateUsing
formatStateUsing
to the component in a simple repeater, without reimplementing the logic in the repeater to format the array with UUID keys?

Applying it directly to the component fails, as
formatStateUsing
formatStateUsing
/
afterStateHydrated
afterStateHydrated
are called on the child component before the repeater component is hydrated, so
$state
$state
is always null.

Applying it to the repeater itself requires reimplementing the logic in
Repeater::afterStateHydrated
Repeater::afterStateHydrated
to assign UUIDs to each array, which seems fragile.
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 - formatStateUsing
FilamentFFilament / ❓┊help
3y ago
Repeater on a simple json column
FilamentFFilament / ❓┊help
3y ago
Simple repeater and $get
FilamentFFilament / ❓┊help
13mo ago
repeater simple vs schema
FilamentFFilament / ❓┊help
2y ago