repeater - anonymous action - fillForm

I have a repeater with anonymous action to open a modal inside a resource as:

Repeater::make('sections')
                ->label('')
                ->schema([
                  TextInput::make('name'),
                  Actions::make([
                      Action::make('more-options')
                          ->fillForm(function ($data, $record): array {
                              dd($data, $record);
                              return [
                                  'name' => $get('name'),
                              ];
                          })
                          ->form(function(){
                              return [
                                  TextInput::make('name')
                              ];
                          })
                          ->action(function (Set $set, $data) {
                              $set('name', $data['name']);
                          }),
                    ]),
])->relationship(),

and I want to get the data of the repeater item
tried Get $get, $state, $data, $record

but I am always getting only the first item in the Repeater when trying to access the record
not sure what to inject there in fillForm

BTW the same code works just fine when not inside a repeater!
any idea?
Was this page helpful?