https://github.com/muhiddingithub/yii2-multiple-select
Easy to use yii2 active form multiple select
https://github.com/muhiddingithub/yii2-multiple-select
multiple-select yii2 yii2-extension
Last synced: 3 months ago
JSON representation
Easy to use yii2 active form multiple select
- Host: GitHub
- URL: https://github.com/muhiddingithub/yii2-multiple-select
- Owner: muhiddingithub
- License: other
- Created: 2017-10-25T05:03:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-27T22:06:36.000Z (over 7 years ago)
- Last Synced: 2025-02-15T05:56:46.186Z (over 1 year ago)
- Topics: multiple-select, yii2, yii2-extension
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# yii2-multiple-select
Installation
------------
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
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.
[Jquery soruce](http://loudev.com/)
Usage
-----
```php
echo $form->field($model, 'attribute')->widget(\muhiddin\select\MultiSelect::className(), [
'data' => $dataList,
'id' => 'multiple-select',
'options' => [
'multiple' => 'multiple',
],
'selectAll' => true,
'deselectAll'=>true,
])
```