brussens/yii2-bootstrap-select Bootstrap select widget for Yii2

extensionwidgetselect

Bootstrap select widget for Yii2

Install

Either run

php composer.phar require --prefer-dist brussens/yii2-bootstrap-select "*"

or add

"brussens/yii2-bootstrap-select": "*"

to the require section of your composer.json file.

Options

Usage

use brussens\bootstrap\select\Widget as Select;
echo $form->field($model, 'subject')->widget(Select::className(), [
                            'options' => ['data-live-search' => 'true'],
                            'items' => [
                                '1' => 'Item 1',
                                '2' => 'Item 2',
                                '3' => 'Item 3',
                                '4' => 'Item 4',
                                '5' => 'Item 5',
                            ]
                        ]);

Profit

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.0.0 is the latest of one release



MIT license
Stats
8 github stars & 7 github forks
18 downloads in the last day
536 downloads in the last 30 days
22300 total downloads