定制 lee-to/moonshine-input-extension-char-count 二次开发

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

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

lee-to/moonshine-input-extension-char-count

最新稳定版本:2.0.0

Composer 安装命令:

composer require lee-to/moonshine-input-extension-char-count

包简介

Input extension - display the number of characters

README 文档

README

Input extension - display the number of characters

Input extension - display the number of characters for MoonShine

Requirements

  • MoonShine v3.0+

Support MoonShine versions

MoonShine CharCount
1.0+ 1.0+
2.0+ 3.0+

Installation

composer require lee-to/moonshine-input-extension-char-count
use Leeto\InputExtensionCharCount\InputExtensions\CharCount;

//
Text::make('Field')
    ->extension(new CharCount()),
// or
Text::make('Field')
    ->extension(new CharCount(250)),
// or
Text::make('Field')
    ->extension(new CharCount(45,5)),

Parameters: max - integer. The value can be empty. The maximum number of characters allowed. min - integer. The value can be empty. The minimum allowed number of characters.

How does it look in the Admin Panel ?

default parameters parameters warning

Tip

If the number of characters entered in the field is less than the min parameter or less than max*20%, then the maximum allowed number of characters will be highlighted in color.

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-20