Skip to content

VitProg/yii2-tagsinput

 
 

Repository files navigation

yii2-tagsinput

Latest Version Software License Total Downloads

Install

Via Composer

$ composer require wbraganca/yii2-tagsinput

or add

"wbraganca/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/

About

The yii2-tagsinput is a Yii 2 wrapper for bootstrap-tagsinput. A user interface for managing tags

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%