Why repeater data does not included in mutateFormDataBeforeCreate() function?
How do I access repeater data from the CreateInvoice Pages?
It gave me this error:
I tried to dump the $data and the key for the repeater does not exist.
My code:
Solution:Jump to solution
$this->data
is non-validated. You didn’t provide that part of the code but I guess you are using a relationship that’s why it’s not included in data because it’s saved directly to your relationship2 Replies
Turns out the key is hiding on "$this->data" instead of regular "$data"
Can someone enlighten me how is this different?
Solution
$this->data
is non-validated. You didn’t provide that part of the code but I guess you are using a relationship that’s why it’s not included in data because it’s saved directly to your relationship