定制 lexicon/nova-action-button-selectors 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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: ^8
  • laravel/nova: ^4

How to install

composer require lexicon/nova-action-button-selectors 

Detail page example_1

Index page with inline action example_2

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
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 18
  • Watchers: 4
  • Forks: 12
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固