Update other table from repeater.
Good day, please guide me for this matter. I need to update the qty in items from invoice using repeater . Thank you.
5 Replies
up
Can you send the code of your table ?
I'm assuming you have a relationship for "InvoiceItem" setup? You need to tell filament it's a relationship and it'll handle all that automatically https://filamentphp.com/docs/2.x/forms/fields#populating-automatically-from-a-relationship-2
didn't know where I put the update code. I try to put the code in AfterCreate() but I got an error.
Share your "form" method