This package allows you to change the action select box to a button view.
energon7/custom-action-selector is a Laravel package for this package allows you to change the action select box to a button view..
It currently has 1 GitHub stars and 4.862 downloads on Packagist (latest version 0.1.0).
Install it with composer require energon7/custom-action-selector.
Discover more Laravel packages by energon7
or browse all Laravel packages to compare alternatives.
Last updated
This package allows you to change the action select box to a button view.
composer require energon7/custom-action-selector
NovaServiceProvider.php:
use Energon7\CustomActionSelector\CustomActionSelector;
//...
public function tools()
{
return [
new CustomActionSelector()
];
}
Then create any action:
php artisan nova:action SomeAction
You can add icon to a action button.
SomeAction.php:
public $icon = '<svg> ... </svg>';
public function __construct()
{
$this->withMeta([
'icon' => $this->icon
]);
}
This project is open-sourced software licensed under the MIT license.