F
Filament16mo ago
Seph

How to update a placeholder component (Forms\Components\Placeholder) when data in a table is edited

Hi! I have the following models Application, PaymentPlan and Payments. I have a panel on the application edit form that shows the date it was created and the total amount of the payments, however, when I edit a payment or remove it, this placeholder component won't update until I refresh the page. How can hook this into Livewire, so it refreshes when I add a new payment? Thanks
3 Replies
krekas
krekas16mo ago
This question was answered a couple times already. Use search. You need to fire event from relation manager and listen in the edit page
Seph
SephOP16mo ago
Could you please share a link? I can't find the previous posts related to this issue. Thanks
krekas
krekas16mo ago
you need to fire an even after saving and in the edit form listen for that event and $refresh
Want results from more Discord servers?
Add your server