How to get relationship from a form
$this->form->getState() result in an array with the fields of the form that are no part of a relationship. Is there a function that result in an array of the relationships?
1 Reply
the relationship is auto saved. If you want to get in the array, add
->dehydrated()
in the field