F
Filament13mo ago
harps

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
harps
harpsOP13mo ago
changing the model to belongsTo and using ->relationship() worked and seemed to make sense.
Want results from more Discord servers?
Add your server