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

extensionchosen

yii-chosen

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

Requirements

  • Yii 1.1 or above (Chosen requires jQuery 1.4)

Installation

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

Usage

Common usage inside a view

$this->widget('ext.chosen.EChosenWidget');

Using with a jQuery selector

$this->widget('ext.chosen.EChosenWidget',array(
    // the select selector
    'selector'=>'.chosen',
    // Chosen options
    'options'=>array(),
));

Changelog

v1.6.1

  • Chosen updated to version 1.2.0.

v1.6.0

  • Chosen updated to version 1.1.0.

v1.5.0

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

v1.4.0

  • Chosen updated to version 0.9.13.

v1.3.0

  • Chosen updated to version 0.9.12.
  • Composer support.

v1.2.0

  • Use CWidget instead of CInputWidget.

v1.1.0

  • Chosen updated to version 0.9.10.

v1.0.0

  • Initial version.

License

yii-chosen is free and unencumbered public domain software.

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.6.1 is the latest of 5 releases



public domain license
Stats
4 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
597 total downloads