Level 1
Hello. Of course it is possible. I use the following:
Actions\EditAction::make()
->visible(function (): bool {
$visible = $this->record->id>10; // or whatever condition you need and return TRUE or FALSE
return $visible;
})
```
This is working for me.
When the condition is true the button for the EditAction is shown. When the condition is false, it is not shown.
Hope it helps.