2017 © Pedro Peláez
 

yii2-extension yii2-bootstrap-select

Bootstrap select widget for Yii2

image

brussens/yii2-bootstrap-select

Bootstrap select widget for Yii2

  • Saturday, October 31, 2015
  • by brussens
  • Repository
  • 1 Watchers
  • 5 Stars
  • 3,770 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 10 % Grown

The README.md

Bootstrap select widget for Yii2

Install

Either run, (*1)

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

or add, (*2)

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

to the require section of your composer.json file., (*3)

Options

  • clientOptions - options of plugin. See https://silviomoreto.github.io/bootstrap-select/

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

The Versions

31/10 2015

dev-master

9999999-dev

Bootstrap select widget for Yii2

  Sources   Download

MIT

The Requires

 

by Brusenskiy Dmitry

extension yii widget select

31/10 2015

1.0.0

1.0.0.0

Bootstrap select widget for Yii2

  Sources   Download

MIT

The Requires

 

by Brusenskiy Dmitry

extension yii widget select