ffsoft / yii2-multiselect
Multiple Select widget for Yii2 framework
Installs: 6 763
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Type:yii2-extension
Requires
- bower-asset/multiple-select: ~1.2.2
- yiisoft/yii2: ~2.0.0
- yiisoft/yii2-bootstrap4: ~2.0.0
This package is auto-updated.
Last update: 2025-03-29 00:47:35 UTC
README
Yii2 widget for Multiple Select JQuery plugin
This is a simple Yii2 widget implementing Multiple Select JQuery plugin by Zhixin Wen.
Example usage:
<?= $form->field($model, '...')->widget(MultiSelect::class, [ 'items' => [...], 'clientOptions' => [ /** * If we don't set width by CSS or JS, the input will most likely be very short */ 'width' => '100%' ] ]); ?>