In Laravel 10 / nova 4.27 app using https://nova.laravel.com/docs/actions/registering-actions.html manual I created and added action into listing of data :
class Brand extends Resource
...
public function actions(NovaRequest $request)
{
return [new ActivateBrand];
}
which is visible when at least 1 model in data list is selected. But I need such several actions in view/edit(showOnDetail/showOnUpdating) modes of the model and hide some of these buttons depending on current status value. If there is a way to make it ?
I searched here and did not find anything similar functionality...
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community