TextInpiut with morphMany relationship
I have a model Invitation with a company_id field. In the InvitationResource on the form method, I have a select input for company_id. I used the editOptionForm method on it. The Company model has a morphMany relationship to the Address model. The Address model has addressable_id, addressable_type, and type fields. How can I allow editing of the company address in the editOptionForm?
https://pastecode.io/s/nk4b1uue
1 Reply
Someone?