muhiddingithub/yii2-multiple-select

Multiple select element

Installs: 81

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 1

Open Issues: 1

Language:JavaScript

Type:yii2-extension

dev-master 2017-10-25 07:29 UTC

This package is not auto-updated.

Last update: 2024-04-28 01:40:00 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.

Jquery soruce

Usage

    echo $form->field($model, 'attribute')->widget(\muhiddin\select\MultiSelect::className(), [
            'data' => $dataList,
            'id' => 'multiple-select',
            'options' => [
                'multiple' => 'multiple',
            ],
            'selectAll' => true,
            'deselectAll'=>true,
        ])
        
       ```