BorNKylleR
Only arrays and Traversables can be unpacked
So if with this
->dispatch('doDelete', ['id'=>$this->reply->id]),
get error Only arrays and Traversables can be unpacked
If I trade with this ->dispatch('doDelete', $this->reply->id)
get this error Filament\Actions\StaticAction::dispatch(): Argument #2 ($data) must be of type Closure|array, int given
I do not understand,
Anyway, thanks for the answers, I'll try tomorrow after I get some sleep16 replies