2017 © Pedro Peláez
 

yii2-extension yii2-bootstrap-select

Bootstrap select widget for Yii2

image

zenithone/yii2-bootstrap-select

Bootstrap select widget for Yii2

  • Tuesday, September 13, 2016
  • by zenithone
  • Repository
  • 1 Watchers
  • 0 Stars
  • 49 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 17 % Grown

The README.md

Bootstrap select widget for Yii2

Install

Either run, (*1)

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

or add, (*2)

"zenithone/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 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

The Versions

13/09 2016

dev-master

9999999-dev

Bootstrap select widget for Yii2

  Sources   Download

MIT

The Requires

 

by Avatar zenithone

extension yii widget select sumo select

13/09 2016

1.0.2

1.0.2.0

Bootstrap select widget for Yii2

  Sources   Download

MIT

The Requires

 

by Avatar zenithone

extension yii widget select sumo select

13/09 2016

1.0.1

1.0.1.0

Bootstrap select widget for Yii2

  Sources   Download

MIT

The Requires

 

by Avatar zenithone

extension yii widget select sumo select