kartik-v/yii2-widgets — pull request #103 by Agrumas (2014-07-03 18:46:34+00:00)
Title: Added ability to bind select2 to existing HTML element.

This change allows to use select2 widget on existing HTML element, for example bind on grid filter.
```php
Select2::widget([
'selector' => '#some_filter',
'pluginOptions' => [
'allowClear' => true
],
]);
```