© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
3 replies
Kaaiman

Dynamic default repeater fields

For an application I am making a custom field which in essence is a repeater, a model can have custom fields which are configured in the config file. I want to load these fields as default in a repeater, how would I do this dynamically?

I see that there is needed a list instead of an associative array for the default value, this is just somehow not possible I think?
Solution
The repeater’s schema is just an array of form components- you can load your config and build your array dynamically before assigning it to the form schema.
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

dynamic repeater fields names
FilamentFFilament / ❓┊help
17mo ago
Dynamic Fields in a Repeater Table
FilamentFFilament / ❓┊help
6mo ago
Dynamic Repeater
FilamentFFilament / ❓┊help
3y ago
Dynamic Repeater
FilamentFFilament / ❓┊help
3y ago