© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
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
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
How to generate fields dynamically?
F
Filament / ❓┊help
3y ago
How to dynamically set getRelations()?
F
Filament / ❓┊help
3y ago
How to "$set" Repeater itemLabel()
F
Filament / ❓┊help
3y ago
Repeater Fields to TextColumn
F
Filament / ❓┊help
2y ago