'Backpack Field Type Checklist is not Showing Pivot table data on create and Edit
I want to assign permissions to users while creating or updating. So used checklist type data with the backpack permission manager. Follow is my code which I put for column type checklist.
CRUD::addColumn(
[
'label' => 'Permissions',
'type' => 'checklist',
'name' => 'permissions',
'entity' => 'permissions',
'attribute' => 'name',
'model' =>"Backpack\PermissionManager\app\Models\Permission",
'pivot' => true,
],
);
This was working fine until I upgraded laravel backpack to v5 with backpack/pro.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
