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
1 Reply
Solution
lukevi
lukevi4d ago
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.
Want results from more Discord servers?
Add your server