xinyeweb / yii2-tagsinput
Tags Input For Yii2
Package info
github.com/xinyeweb/yii2-tagsinput
Type:yii2-extension
pkg:composer/xinyeweb/yii2-tagsinput
dev-master
2017-09-08 07:46 UTC
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2026-03-16 23:42:34 UTC
README
Tags Input For Yii2
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist xinyeweb/yii2-tagsinput "*"
or add
"xinyeweb/yii2-tagsinput": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= $form->field($model, 'tags')->widget(\xinyeweb\tagsinput\TagsInput::className()) ?>
提交過去的數據格式為 tag1,tag2,tag3