muhiddingithub/yii2-multiple-select

Multiple select element

Maintainers

Package info

github.com/muhiddingithub/yii2-multiple-select

Language:JavaScript

Type:yii2-extension

pkg:composer/muhiddingithub/yii2-multiple-select

Statistics

Installs: 88

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 1

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.

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,
        ])
        
       ```