© 2026 Hedgehog Software, LLC

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

How to dynamically set defaults for Repeater fields?

Hi, I want to dynamically set the defaults of some Repeater fields, based on a "global" value from a different Form field outside of the Repeater.

For example:
- "global" Select Field for a color ->
red
red
selected
- Repeater has a Select Field
color
color
too, that should have the default
red
red
(but can be changed independently, so not the same field ID)

I can do that for the first visible Repeater Item using
afterStateUpdated()
afterStateUpdated()
, but I don't know how to do that for every newly created Item that is not available on pageload.
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

How to generate fields dynamically?
FilamentFFilament / ❓┊help
3y ago
How to dynamically set getRelations()?
FilamentFFilament / ❓┊help
3y ago
How to "$set" Repeater itemLabel()
FilamentFFilament / ❓┊help
3y ago
Repeater Fields to TextColumn
FilamentFFilament / ❓┊help
2y ago