I have installed Voyager for Laravel. I cannot understand the relation and why it gives me a dropdown menu each time.
Here is what I have done:
As you can see I have created a relation "Coupon" "belongsTo" "users"
In the coupon table I have created a user_id column.
All I want is the user id to be showing in the next page so I can save it to the DB when the user creates the coupon. The problem is that when I log as a user and create a coupon, I see a dropdown menu rather than the id of the user:
Any idea why please?
Thank you.