Save nested relationship on create

I do have the following nested structure:

-> user

--> person

---> primaryEmail

All these are defined by morphOne relationships.

When I create a new user only the person gets saved but not the primaryEmail relationship.

When I edit an existing user model everything is working properly.

How can I get this working?

This screenshot shows the nesting:
CleanShot_2023-03-27_at_09.56.142x.png
Was this page helpful?