How install widget? ¶
Add flowing line into your composer.json
files.
"aminkt/yii2-input-tag-widget" : "@dev"
How use widget? ¶
Add flowing lines into your view file.
<?= $form->field($model, 'tags')->widget(\aminkt\widgets\inputTag\InputTag::className(), [
'options'=>[
'maxlength' => true,
'class'=>'form-control maxlength-handler'
]
]) ?>
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.