rbshubham/yii2-widget-tagsinput 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

rbshubham/yii2-widget-tagsinput

最新稳定版本:8.0

Composer 安装命令:

composer require rbshubham/yii2-widget-tagsinput

包简介

A Yii2 wrapper widget for the Bootstrap Tags Input.

README 文档

README

Create a Bootstrap Tags Input Box

Installation

The preferred way to install this extension is through composer. Check the composer.json for this extension's requirements and dependencies. Read this web tip /wiki on setting the minimum-stability settings for your application's composer.json.

To install, either run

$ php composer.phar require rbshubham/yii2-widget-tagsinput

or add

"rbshubham/yii2-widget-tagsinput": "*"

to the require section of your composer.json file.

Usage

use shubham\tagsinput\TagsInput;

// Usage with ActiveForm and model
echo $form->field($model, 'tags')->widget(TagsInput::classname(), [
    "options"=>[
        // Input Options Here
    ],
    'pluginOptions'=>[
        // Refer to https://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/#options
        // Enables clear all tags button
        'allowClear'=>true; // default true
    ],
    'pluginEvents'=>[
        // Refer to https://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/
    ]
]);


// Without model & without ActiveForm
echo TagsInput::widget([
    'name' => 'tags',
]);

For more details, visit: http://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2020-02-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固