Skip to content

[Bug] Editable column is not working in show operation #5754

@blessen131

Description

@blessen131

Then editable column feature is not working as expected when using the show operation. I've reviewed the demo app(https://demo.backpackforlaravel.com/admin/editable-monster/140/show) and it appears to be behaving in the same way.

How to hide editable column?
I was trying to hide column if completed is true
$this->crud->addColumn([
'name' => 'completed',
'label' => 'Status',
'type' => 'editable_switch',
'priority' => 5,
'visible' => function ($entry) {
if ($entry->completed) {
return false;
}
return true;
}
]);

"backpack/crud": "^5.6",
"backpack/editable-columns": "^2.1",

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions