janisto / yii-chosen
Yii Widget for Chosen - Chosen is a JavaScript plugin that makes long, unwieldy select boxes much more user-friendly.
Installs: 600
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 5
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: >=5.1.0
This package is not auto-updated.
Last update: 2024-10-07 11:33:47 UTC
README
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
- Download yii-chosen or Clone the files
- 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.