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",