Skip to content

zenithone/yii2-bootstrap-select

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Bootstrap select widget for Yii2

##Install Either run

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

or add

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

to the require section of your composer.json file.

##Options

##Usage

use zenithone\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

About

Bootstrap select widget for Yii2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%