F
Filament17mo ago
yeonjih

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
yeonjihOP17mo ago
up
JibayMcs
JibayMcs17mo ago
Can you send the code of your table ?
ConnorHowell
ConnorHowell17mo 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
yeonjihOP17mo ago
didn't know where I put the update code. I try to put the code in AfterCreate() but I got an error.
ConnorHowell
ConnorHowell17mo ago
Share your "form" method
Want results from more Discord servers?
Add your server