uran1980/yii2-chosen-select An Yii2 chosen select extension based on Chosen jQuery plugin.

javascriptchosenyii2-chosen-selectjqueryplugin

Yii2 Chosen Select

An Yii2 chosen select extension based on Chosen jQuery plugin.

What is Chosen?

Chosen is a jQuery plugin that makes long, unwieldy select boxes much more user-friendly.

Installation

Composer

The preferred way to install this extension is through Composer.

Either run

php composer.phar require uran1980/yii2-chosen-select "dev-master"

or add

"uran1980/yii2-chosen-select": "dev-master"

to the require section of your composer.json

Usage

To activate this widget add this line to you view or layout:

<?php echo uran1980\yii\widgets\chosen\ChosenSelect::widget(); ?>

or add as dependensy in you AssetBundle.php:


namespace frontend\assets;

class YourAppAsset extends \yii\web\AssetBundle
{
    ...
    public $depends = [
        'uran1980\yii\widgets\chosen\ChosenSelectAsset',
        ...
    ];
}

Author

Ivan Yakovlev, e-mail: uran1980@gmail.com

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



0.0.1 is the latest of one release



MIT license
Stats
1 github stars & 1 github forks
0 downloads in the last day
8 downloads in the last 30 days
18336 total downloads