lexicon/nova-action-button-selectors
最新稳定版本:v1.2.1
Composer 安装命令:
composer require lexicon/nova-action-button-selectors
包简介
A Laravel Nova asset.
README 文档
README
This package allow you to change Nova actions from dropdown to buttons.
Requirements
php: ^8laravel/nova: ^4
How to install
composer require lexicon/nova-action-button-selectors Index page with inline action 
Usage
All Nova actions are changed from dropdown to buttons by default.
However, some actions you might need to show as dropdown which is default by Nova.
Add ActionAsButton trait at your Nova action
... use Lexicon\ActionButtonSelector\ActionAsButton; class NovaAction extends Action { use ActionAsButton, ....; ... Add showInDropdown() at your Nova resource
... class NovaResource extends Resource { ... public function actions(NovaRequest $request) { return [ Actions\NovaAction::make()->showInDropdown() ]; ... } } 统计信息
- 总下载量: 61.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04
