2017 © Pedro Peláez
 

yii2-extension yii2-chosen-select

Chosen Select Widget based on Chosen jQuery plugin

image

yii2mod/yii2-chosen-select

Chosen Select Widget based on Chosen jQuery plugin

  • Saturday, December 31, 2016
  • by disem
  • Repository
  • 1 Watchers
  • 8 Stars
  • 8,874 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 2 Open issues
  • 3 Versions
  • 26 % Grown

The README.md

Chosen Select Widget for Yii 2

Chosen Select Widget based on Chosen jQuery plugin chosen, (*1)

Latest Stable Version Total Downloads License Build Status, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

composer require yii2mod/yii2-chosen-select

or add, (*5)

"yii2mod/yii2-chosen-select": "^1.0"

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

Usage

1) Usage with ActiveForm and model, (*7)

echo $form->field($model, 'subject')->widget(\yii2mod\chosen\ChosenSelect::class, [
    'items' => [
        'first' => 'First',
        'second' => 'Second'
     ],
]); 

2) Usage without a model, (*8)

echo \yii2mod\chosen\ChosenSelect::widget([
     'name'  => 'select',
     'items' => BooleanEnum::listData(),
     'options' => [
         'width' => '95%'
     ]
 ]);

Select Options

You can find them on the options page, (*9)

Support us

Does your business depend on our contributions? Reach out and support us on Patreon. All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff., (*10)

The Versions

31/12 2016

dev-master

9999999-dev

Chosen Select Widget based on Chosen jQuery plugin

  Sources   Download

MIT

The Requires

 

The Development Requires

by Igor Chepurnoy

yii2 widget select

31/12 2016

1.1

1.1.0.0

Chosen Select Widget based on Chosen jQuery plugin

  Sources   Download

MIT

The Requires

 

The Development Requires

by Igor Chepurnoy

yii2 widget select

13/05 2016

1.0

1.0.0.0

Chosen Select Widget based on Chosen jQuery plugin

  Sources   Download

MIT

The Requires

  • bower-asset/drmonty-chosen *

 

by Igor Chepurnoy

yii2 module