F
Filament5mo ago
anacrk

Repeater registerListeners event issue

Hello everyone. I noticed that after upgrade to filament v3 our events on repeater are not dispatched anymore. In v2 version I've added this on Repeater according to documentation https://filamentphp.com/docs/2.x/forms/advanced#listening-to-events
->registerListeners([ 'repeater::deleteItem' => [ function (Repeater $component) { /** @var \Livewire\Component $livewire */ $livewire = $component->getLivewire(); $livewire->dispatch('providerDiscountsUpdated'); }], ])
I can not find an equivalent in v3 documentation and i can not figure out what changed. It seems that registerListeners function still exists and works, but repeater::deleteItem is not detected. Do you have any ideas please? I'll appreciate any information
0 Replies
No replies yetBe the first to reply to this messageJoin