Not getting data of repeater which is under a repeater with relationship.
I am using Repeater (stock_master) under the Repeater field (order_detail) which has a relationship with order_detail, now I am trying to get the data of stock_master from handleUpdateRecord() method using $this->data, but the stock_master getting empty...
Any fix, or suggestions or other way.
Help
3 Replies
Here is the code...
https://pastebin.com/x7tTT6MH
Pastebin
Forms\Components\Section::make('Select Batch') -...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
If it’s a relation repeater you don’t get the data. You can change the save behavior by using
->saveRelationshipUsing()
Thanks, I will try it
One question, but I got the order_details and didn't get the batches Repeater data which is not a relationship?