Access state of other field outside of repeater

Hi I'm using a closure to set the options of a select field inside a repeater element. For this I need the value of a field outside of the repeater. But I seems that I can only access the values inside of the repeater element itself
Select::make('icon')
->options(fn (Closure $get) => config('icons.'.$get('value-outside-of-
repeater')))
->required(),
Select::make('icon')
->options(fn (Closure $get) => config('icons.'.$get('value-outside-of-
repeater')))
->required(),
Do I need to pass another parameter to access the value?
3 Replies
Dan Harrin
Dan Harrin2y ago
../../value-outside-of-repeater its in the docs
Philipp Bürger
Philipp BürgerOP2y ago
Thank you! Didn't found it. Can you please share the link here?
Want results from more Discord servers?
Add your server