BackPack field type checklist data is not loading pivot table on creation and updation
See original GitHub issueHey team 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.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Backpack Field Type Checklist is not Showing Pivot table data ...
I want to assign permissions to users while creating or updating. So used checklist type data with the backpack permission manager.
Read more >Fields :: 5.x Docs - Backpack for Laravel
Field types define how the admin can manipulate an entry's values. They're used by the Create and Update operations. Think of the field...
Read more >How to Troubleshoot and Fix Excel Pivot Table Errors
How to troubleshoot and fix Excel pivot table errors, such as PivotTable field name is not valid. Find the problem, and fix it....
Read more >BackpackForLaravel/Lobby - Gitter
Hello guys, In my create form page, I have a checkbox field and if user checked then i want to show user to...
Read more >Intro to pivot tables in Numbers on Mac - Apple Support (HK)
You can create pivot tables to analyse data, quickly group and calculate values, and identify interesting patterns and trends. A pivot table showing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @zain534102 so do I understand correctly that this is a UI problem? That:
If so, can you please
vendor/backpack/crud/src/resources/views/crud/fields/checklist.blade.php
file@dump($field)
as the very first line@dump($field)
after the@endphp
lineThanks!
@zain534102 I assume you’ve gotten to the bottom of this, and it was a problem specific to your project? If not, let us know and we’ll reopen. If so, and you remember what it was, it’s always best to reply here with the cause/solution. That way if you have the same problem some other time, you’ll find it. Not to mention it could help others with the same problem.
Cheers!