How can I get the ID of the deleted item in a repeater action?
I can't work out how to get the ID of the deleted item in the delete action that is attached to my repeater. The $state parameter has the entire state of the repeater (e.g. all items), have I attached my action to the wrong component perhaps?
Code looks like this...
```Repeater::make('eventQuestionnaires')
->label(__('Questionnaires'))
->relationship()
->deleteAction(
function (Action $action) {
$action->requiresConfirmation()
->action(function(Repeater $component, callable $get, $state){
ray($component);
ray($state);
})
->modalSubmitActionLabel('Remove');
},
)
->schema([
Code looks like this...
```Repeater::make('eventQuestionnaires')
->label(__('Questionnaires'))
->relationship()
->deleteAction(
function (Action $action) {
$action->requiresConfirmation()
->action(function(Repeater $component, callable $get, $state){
ray($component);
ray($state);
})
->modalSubmitActionLabel('Remove');
},
)
->schema([