2017 © Pedro Peláez
 

yii2-extension yii2-selectize

Selectize.js widget for the Yii 2 framework

image

maddoger/yii2-selectize

Selectize.js widget for the Yii 2 framework

  • Monday, October 12, 2015
  • by maddoger
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Selectize.js widget for Yii2

Installation

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

Either run, (*2)

$ composer require maddoger/yii2-selectize:~1.0

or add, (*3)

"maddoger/yii2-selectize": "~1.0"

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

Usage

Selectize has lots of configuration options. For further information, please check the Selectize plugin website., (*5)

Text input widget

To use text input widget add the following to the view, (*6)

use maddoger\widgets\SelectizeTextInput;

echo SelectizeTextInput::widget([
    'name' => 'tags',
    'value' => 'love, this, game',
    'clientOptions' => [
        // ...
    ],
]);

To use dropdown list widget add the following to the view, (*7)

use maddoger\widgets\SelectizeDropDownList;

echo SelectizeDropDownList::widget([
    'name' => 'tags',
    'value' => ['love', 'this', 'game'],
    'clientOptions' => [
        // ...
    ],
]);

The Versions

12/10 2015

dev-master

9999999-dev

Selectize.js widget for the Yii 2 framework

  Sources   Download

Apache License

The Requires

 

by Vitaliy Syrchikov

jquery yii selectize select

12/10 2015

v1.0.0

1.0.0.0

Selectize.js widget for the Yii 2 framework

  Sources   Download

Apache License

The Requires

 

by Vitaliy Syrchikov

jquery yii selectize select