ahmadpriatama / yii2-bootstrap-tags-input
Bootstrap tags input for Yii2 framework
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 3
Type:yii2-extension
Requires
- yiisoft/yii2: *
- yiisoft/yii2-bootstrap: ~2.0.0
This package is not auto-updated.
Last update: 2024-12-11 10:44:31 UTC
README
A simple widget tags input, renders a Bootstrap Tags Input.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require pudinglabs/yii2-bootstrap-tags-input "*"
or add
"pudinglabs/yii2-bootstrap-tags-input" : "*"
Usage
// with an ActiveForm <?= $form->field($model, 'your_attr')->widget(TagsinputWidget::classname(), [ 'options' => [], 'clientOptions' => [], 'clientEvents' => [] ]); ?> // as a widget <?= TagsinputWidget::widget([ 'model' => $model, 'attribute' => 'your_attr', 'options' => [], 'clientOptions' => [], 'clientEvents' => [] ]); ?>
License
MIT
Free Software, Hell Yeah!