承接 bithaolee/select-or-custom 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

bithaolee/select-or-custom

最新稳定版本:1.0.0

Composer 安装命令:

composer require bithaolee/select-or-custom

包简介

A Laravel Nova field.

README 文档

README

Laravel Nova custom field that allows you to have a select drop-down or custom text!

Install

You can install select-or-text using composer:

composer require bithaolee/select-or-custom

Then add the following code to your resources fields method:

\Lynndigital\SelectOrCustom\SelectOrCustom::make('Field Name')->options([]);

The field has an options method similar to that of Laravel Nova's Select field, it allows you to pass default options that may be selected.

Screenshots:

Add the field to nova: Code

The select field. The select field

Select one of your provided options, or choose "Custom (Free Text)" to add a custom value. Options

The field when a provided option is selected: Select box

The field when a custom value can be entered (a simple text field): Text input

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 5
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-27