yii2mod/yii2-chosen-select Chosen Select Widget based on Chosen jQuery plugin


Chosen Select Widget for Yii 2

Chosen Select Widget based on Chosen jQuery plugin chosen

Latest Stable Version Total Downloads License Build Status


The preferred way to install this extension is through composer.

Either run

composer require yii2mod/yii2-chosen-select

or add

"yii2mod/yii2-chosen-select": "^1.0"

to the require section of your composer.json.


1) Usage with ActiveForm and model

echo $form->field($model, 'subject')->widget(\yii2mod\chosen\ChosenSelect::class, [
    'items' => [
        'first' => 'First',
        'second' => 'Second'

2) Usage without a model

echo \yii2mod\chosen\ChosenSelect::widget([
     'name'  => 'select',
     'items' => BooleanEnum::listData(),
     'options' => [
         'width' => '95%'

Select Options

You can find them on the options page

Support us

Does your business depend on our contributions? Reach out and support us on Patreon. All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.


GitHub Stars
GitHub Forks


  • 1.220 August 2018
  • 1.131 December 2016
  • 1.013 May 2016


1.2 is the latest of 3 releases

MIT license
14 github stars & 7 github forks
24 downloads in the last day
678 downloads in the last 30 days
92686 total downloads