repeater deleteAction get deleted record to handle it?

I'm using a repeater (technically the TableRepeater plugin) and I need to handle some things when a row is deleted. I need to update a total in another field, and I need to also delete the record from the database. I'm unclear on how to actually get the record that's being deleted. I have this but it seems to just be a uuid of the record. I'm missing some knowledge on how to do this. Looked at the docs, searched threads, looked at source code and I'm still stuck.

->deleteAction(function (\Filament\Forms\Components\Actions\Action $action) {

                                $action->after(function (array $arguments, Get $get, Set $set) {
                                    dd($arguments);
image.png
Was this page helpful?