xinyeweb/yii2-tagsinput

Tags Input For Yii2

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2017-09-08 07:46 UTC

This package is auto-updated.

Last update: 2024-10-16 20:36:36 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