muhiddingithub / yii2-multiple-select
Multiple select element
Package info
github.com/muhiddingithub/yii2-multiple-select
Language:JavaScript
Type:yii2-extension
pkg:composer/muhiddingithub/yii2-multiple-select
dev-master
2017-10-25 07:29 UTC
This package is not auto-updated.
Last update: 2026-03-01 10:49:31 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require muhiddingithub/yii2-multiple-select "dev-master"
or add
"muhiddingithub/yii2-multiple-select": "dev-master"
to the require section of your composer.json file.
Usage
echo $form->field($model, 'attribute')->widget(\muhiddin\select\MultiSelect::className(), [ 'data' => $dataList, 'id' => 'multiple-select', 'options' => [ 'multiple' => 'multiple', ], 'selectAll' => true, 'deselectAll'=>true, ]) ```