Skip to content

A tag editor wrapper of jQuery-tagEditor for Yii2.0

Notifications You must be signed in to change notification settings

rogeecn/yii2-tag-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 TagEditor

A tag editor wrapper of jQuery-tagEditor for Yii2.0

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist rogeecn/yii2-tag-editor "*"

or add

"rogeecn/yii2-tag-editor": "*"

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, "tag")->widget(\rogeecn\TagEditor\EditorWidget::className()) ?>

or

<?= \rogeecn\TagEditor\EditorWidget::widget([
    'name'=>'tag',
    'model'=>$model,
    'clientOptions'=>[
        //...    
    ]
]); ?>

About

A tag editor wrapper of jQuery-tagEditor for Yii2.0

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages