life2016 / yii2-tagsinput
Installs: 50 529
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 24
Type:yii2-extension
Requires
- life2016/bootstrap-tagsinput: *
- yiisoft/yii2: ~2.0
- yiisoft/yii2-bootstrap: ~2.0.0
Requires (Dev)
- phpunit/phpunit: ~5.0
This package is not auto-updated.
Last update: 2025-01-25 03:54:24 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/