Malja
Use `relationship()` when creating a new record
But again, that's not ideal. For admin users, who know what are they doing, this may be fine.
But I cannot expect the end-user to know, that thay have to click on the plus icon and create a new record in modal window.
14 replies
Use `relationship()` when creating a new record
Without 'relationship' in the
Address
section, I'm able to read all address-related values in the handleRecordCreation
method.
In the worst-case scenario, I can save the relation manually.
PS: The name of the relation matches the name of the method in the Customer
model:
14 replies