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 selected
  • Repeater has a Select Field color too, that should have the default red (but can be changed independently, so not the same field ID)
I can do that for the first visible Repeater Item using
afterStateUpdated()
, but I don't know how to do that for every newly created Item that is not available on pageload.
Was this page helpful?