hasOne model relationship select list options
I have model like
client->project
where each project has a foreign key client_id
linked to a client.
How do I create select list options in the select list that reference clients
?1 Reply
changing the model to
belongsTo
and using ->relationship()
worked and seemed to make sense.