Yii 1.1: chosen-widget

Yii Widget for Chosen - Chosen is a JavaScript plugin that makes long, unwieldy select boxes much more user-friendly.

Chosen Widget


  • Yii 1.1 or above (Chosen requires jQuery 1.4)


  1. Download yii-chosen or Clone the files
  2. Extract into the widgets or extensions folder


Common usage inside a view


Using with a jQuery selector

    // the select selector
    // Chosen options



  • Chosen updated to version 1.2.0.


  • Chosen updated to version 1.1.0.


  • Chosen updated to version 1.0.0.
  • Default selector for jQuery changed to ".chosen-select".


  • Chosen updated to version 0.9.13.


  • Chosen updated to version 0.9.12.


  • Use CWidget instead of CInputWidget.


  • Chosen updated to version 0.9.10.


  • Initial version.


yii-chosen is free and unencumbered public domain software.

Total 2 comments

#10974 report it
janisto at 2012/12/07 10:12am
RE: Another EChosen, for what it is?

I'm not sure if this is needed. I wasn't planning to release it here, but did it anyways today.

This is just a up-to-date version of chosen. I'm using this one in ycm module, so I figured I could release it here.

I just updated the code so it will use CWidget, thanks for noticing that one.

#10973 report it
Bogdan Savluk at 2012/12/07 09:47am
Another EChosen, for what it is?

In your extension you have extended CInputWidget, but you are not using it features... - Why you have extended it?

If you need widget for chosen, why you are not using existing extension?

If you need CInputWidget, with all chosen features, you can use my extension: http://www.yiiframework.com/extension/chosen

Or, if do not need CInputWidget, you can use another(almost the same as your): http://www.yiiframework.com/extension/echosen

Leave a comment

Please to leave your comment.

Create extension
  • Yii Version: 1.1
  • License: Other Open Source License
  • Developed by: janisto
  • Category: User Interface
  • Votes: +1 / -4
  • Downloaded: 959 times
  • Created on: Dec 7, 2012
  • Last updated: Oct 9, 2014
  • Tags: widget, chosen