2017 © Pedro Peláez
 

yii2-extension yii2-bootstrap-select

A yii2 wrapper package for the custom select for @twitter bootstrap using button dropdown http://silviomoreto.github.io/bootstrap-select/3/

image

cakebake/yii2-bootstrap-select

A yii2 wrapper package for the custom select for @twitter bootstrap using button dropdown http://silviomoreto.github.io/bootstrap-select/3/

  • Thursday, April 7, 2016
  • by cakebake
  • Repository
  • 1 Watchers
  • 3 Stars
  • 9,927 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 4 Forks
  • 3 Open issues
  • 5 Versions
  • 8 % Grown

The README.md

yii2-bootstrap-select

A yii2 wrapper package for the custom select for @twitter bootstrap using button dropdown http://silviomoreto.github.io/bootstrap-select/, (*1)

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org., (*2)

You can then install the package using the following command:, (*3)

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

or add, (*4)

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

to the require section of your composer.json file and run php composer.phar update., (*5)

Usage

Add this in your view (If you want it globally, you can take the file "views/layouts/main.php"):, (*6)

cakebake\bootstrap\select\BootstrapSelectAsset::register($this);

This automatically integrates the files and converts all select fields automatically., (*7)

If you want more control, you can use the available options., (*8)

cakebake\bootstrap\select\BootstrapSelectAsset::register($this, [
    'selector' => '.selectpicker', //The jQuery selector (all select forms by default)
    'menuArrow' => true, //You can also show the tick icon on single select
    'tickIcon' => false, //The bootstrap menu arrow can be added
    'selectpickerOptions' => [ //available bootstrap-select data options @see http://silviomoreto.github.io/bootstrap-select/3/#options
        'size' => 3, //example option @see http://silviomoreto.github.io/bootstrap-select/3/#options
        'width' => '50%', //example option @see http://silviomoreto.github.io/bootstrap-select/3/#options
    ],
]);

Checkout the documentation for further information., (*9)

The Versions

07/04 2016

dev-master

9999999-dev

A yii2 wrapper package for the custom select for @twitter bootstrap using button dropdown http://silviomoreto.github.io/bootstrap-select/3/

  Sources   Download

LGPL-V3

The Requires

 

by cakebake (Jens A.)

yii2 bootstrap yii button select

21/09 2014

2.0.1

2.0.1.0

A yii2 wrapper package for the custom select for @twitter bootstrap using button dropdown http://silviomoreto.github.io/bootstrap-select/3/

  Sources   Download

LGPL-V3

The Requires

 

by cakebake (Jens A.)

yii2 bootstrap yii button select

20/08 2014

2.0.0

2.0.0.0

A yii2 wrapper package for the custom select for @twitter bootstrap using button dropdown http://silviomoreto.github.io/bootstrap-select/3/

  Sources   Download

LGPL-V3

The Requires

 

by cakebake (Jens A.)

yii2 bootstrap yii button select

18/08 2014

1.1.0

1.1.0.0

A yii2 wrapper package for the custom select for @twitter bootstrap using button dropdown http://silviomoreto.github.io/bootstrap-select/3/

  Sources   Download

LGPL-V3

The Requires

 

by cakebake (Jens A.)

yii2 bootstrap yii button select

16/05 2014

1.0.0

1.0.0.0

A yii2 wrapper package for the custom select for @twitter bootstrap using button dropdown http://silviomoreto.github.io/bootstrap-select/3/

  Sources   Download

LGPL-V3

The Requires

 

by cakebake (Jens A.)

yii2 bootstrap yii button select