kotchuprik / yii2-tagsinput

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

Home Page:https://github.com/timschlechter/bootstrap-tagsinput

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://github.com/timschlechter/bootstrap-tagsinput

License:Other


Languages

Language:PHP 100.0%