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
yeonjih
yeonjihOP2y ago
up
JibayMcs
JibayMcs2y ago
Can you send the code of your table ?
ConnorHowell
ConnorHowell2y ago
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
Filament
Fields - Form Builder - Filament
The elegant TALL stack form builder for Laravel artisans.
yeonjih
yeonjihOP2y ago
didn't know where I put the update code. I try to put the code in AfterCreate() but I got an error.
ConnorHowell
ConnorHowell2y ago
Share your "form" method

Did you find this page helpful?