lemonlabs / nova-action-button-selectors
A Laravel Nova asset.
Package info
github.com/Het-Codeerbedrijf/nova-action-button-selectors
Language:JavaScript
pkg:composer/lemonlabs/nova-action-button-selectors
v1.1.1
2025-06-12 12:23 UTC
Requires
- php: ^7.3|^8.0
- laravel/nova: ~4.0|~5.0
README
This package allows you to add buttons for Nova actions on the detail page instead having them all within the dropdown menu.
This package is forked from lednerb/nova-action-button-selectors
Requirements
php: ^8laravel/nova: ^4|^5
How to install
composer require lemonlabs/nova-action-button-selectors
Usage
In your Action class define the following trait:
... use LemonLabs\ActionButtonSelector\ShowAsButton; class MyAction extends Action { use InteractsWithQueue, Queueable; use ShowAsButton; ...
If you want to hide the button on some Detail pages, use the following method in the Nova Model's actions array:
... public function actions(NovaRequest $request) { return [ MyCustomAction::make() ->onlyOnDetail() ->withoutConfirmation() ->showAsButton(false), ...

