Support the ongoing development of Laravel.io →
posted 5 months ago
Nova

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...

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.