life2016/yii2-tagsinput

Installs: 44 248

Dependents: 0

Suggesters: 0

Security: 0

Stars: 7

Watchers: 3

Forks: 24

Type:yii2-extension

1.1 2016-09-26 06:36 UTC

This package is not auto-updated.

Last update: 2024-04-19 23:51:58 UTC


README

Via Composer

$ composer require life2016/yii2-tagsinput

or add

"life2016/yii2-tagsinput": "*"

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/