wbraganca/yii2-tagsinput
最新稳定版本:1.0.2
Composer 安装命令:
composer require wbraganca/yii2-tagsinput
包简介
The yii2-tagsinput is a Yii 2 wrapper for [bootstrap-tagsinput](https://github.com/timschlechter/bootstrap-tagsinput). A user interface for managing tags.
README 文档
README
Install
Via Composer
$ composer require "wbraganca/yii2-tagsinput:~1.0.2"
or add to the require section of your composer.json file.
"wbraganca/yii2-tagsinput": "~1.0.2"
to the require section of your composer.json file.
Usage
On your view file.
<?php use wbraganca\tagsinput\TagsinputWidget; ?> <?= $form->field($model, 'tags')->widget(TagsinputWidget::classname(), [ 'clientOptions' => [ 'trimValue' => true, 'allowDuplicates' => false ] ]) ?>
For more options, visit: http://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/
统计信息
- 总下载量: 159.96k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 32
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-04-27