Show Pivot Table
Hello, I have two tables users_group & companies which are linked to a pivot table company_user_group and I can't display my data in my UsersGroupResource. Thanks for your help
10 Replies
Model UserGroup
also what is happening when you try
errors?
I have no error but nothing is displayed
form :
dont you need a CompanyUserGroup resource
I know, I haven't created any CompanyUserGroup models but I would like to display in my multiple select the companies corresponding to the userGroup
thats the job of select relationship() method right?
I have the impression that does not know my pivot table
wrong relationship name?
should be companies
I have already tried with companies and I still have nothing in my select
wrong column name? should be companies, name maybe