We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have User model and Role model. In both models have belongsToMany relation with their. In User.php admin file i have:
User
Role
belongsToMany
User.php
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?
users_roles
The text was updated successfully, but these errors were encountered:
Решение проблемы здесь. Авторам просьба добавить данный фикс в установочный пакет.
Sorry, something went wrong.
No branches or pull requests
I have
User
model andRole
model. In both models havebelongsToMany
relation with their. InUser.php
admin file i have:When i save user i see in
users_roles
table my records. but when i edit it, i don't see selected items. why?The text was updated successfully, but these errors were encountered: