Skip to content

Commit

Permalink
Update to release v2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Dec 21, 2015
1 parent b457bce commit fd5d59d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Select2.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ class Select2 extends InputWidget
*/
public $theme = self::THEME_KRAJEE;

/**
* @var bool whether to trigger change for Select2 input on form reset so the Select2 value is rightly reset.
*/
public $changeOnReset = true;

/**
* @var string|array, the displayed text in the dropdown for the initial value when you do not set or provide
* `data` (e.g. using with ajax). If options['multiple'] is set to `true`, you can set this as an array of text
Expand All @@ -71,20 +66,25 @@ class Select2 extends InputWidget
public $initValueText;

/**
* @var bool whether to hide the search control and render it as a simple select. Defaults to `false`.
* @var bool whether to trigger change for Select2 input on form reset so the Select2 value is rightly reset.
*/
public $hideSearch = false;
public $changeOnReset = true;

/**
* @var bool whether to show the toggle all button for selection all options in a multiple select.
* @var bool whether to hide the search control and render it as a simple select. Defaults to `false`.
*/
public $showToggleAll = true;
public $hideSearch = false;

/**
* @var bool whether to maintain the order of tag / option selected for a multiple select
*/
public $maintainOrder = false;

/**
* @var bool whether to show the toggle all button for selection all options in a multiple select.
*/
public $showToggleAll = true;

/**
* @var array the toggle all button settings for selecting/unselecting all the options. This is applicable only for
* multiple select. The following array key properties can be set:
Expand Down

0 comments on commit fd5d59d

Please sign in to comment.