yii2-multiple-select
Installation
The preferred way to install this extension is through composer., (*1)
Either run, (*2)
php composer.phar require muhiddingithub/yii2-multiple-select "dev-master"
or add, (*3)
"muhiddingithub/yii2-multiple-select": "dev-master"
to the require section of your composer.json
file., (*4)
Jquery soruce, (*5)
Usage
```php
echo $form->field($model, 'attribute')->widget(\muhiddin\select\MultiSelect::className(), [
'data' => $dataList,
'id' => 'multiple-select',
'options' => [
'multiple' => 'multiple',
],
'selectAll' => true,
'deselectAll'=>true,
]), (*6)
```