Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiselect Not showing selected items #1

Open
ivaaaan opened this issue Jul 12, 2015 · 1 comment
Open

Multiselect Not showing selected items #1

ivaaaan opened this issue Jul 12, 2015 · 1 comment

Comments

@ivaaaan
Copy link

ivaaaan commented Jul 12, 2015

I have User model and Role model. In both models have belongsToMany relation with their. In User.php admin file i have:

  FormItem::multiSelect('roles', 'Roles')->list(\App\Models\Role::class)->value('roles.role_id');

When i save user i see in users_roles table my records. but when i edit it, i don't see selected items. why?

admin
table

@manzor29
Copy link

manzor29 commented Aug 5, 2015

Решение проблемы здесь.
Авторам просьба добавить данный фикс в установочный пакет.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants