Custom Remove Item in Repeater

I have a Repeater with at least 5 items. I can delete an item successfully. But I need to add confirmation before deletion, how can I achieve this?
Solution
Solved, added this
->deleteAction(fn (Forms\Components\Actions\Action $action) => $action->requiresConfirmation())
Was this page helpful?