NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1999 most downloaded on Packagist
Enhanced Yii2 wrapper for the Select2 jQuery plugin (sub repo split from yii2-widgets).
Latest stable
v2.2.5
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 12 months
Nearly every release is documented
notes for 28 of 28 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
28 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
(enh #357, #354): Update multiple select styling Krajee BS5 theme.
Date: 22-Jun-2023
(bug #350): Some options do not work when hashVarLoadPosition is View::POS_READY.
Date: 29-Aug-2022
hashVarLoadPosition is View::POS_READY.Your coding agent can read these notes before it upgrades. Set up the MCP server →
(enh #345): Create new theme krajee-bs5 for Bootstrap 5.x.
Date: 04-Mar-2022
(enh #338): Enhancements to support Bootstrap v5.x.
Date: 02-Sep-2021
(enh #334): Correct multiple select placeholder styles.
Date: 09-Jun-2021
Fix Krajee BS themes styling for multiple select.
Date: 28-Sep-2020
(enh #330): Fix select all for option values containing hyphen.
Date: 25-Sep-2020
hashVarLoadPosition to initialize Select2 hash variable.(enh #326): Correct styling for all themes.
Date: 21-Jul-2020
(enh #305): Correct placeholder color style for multiple Select2 Krajee BS3 Theme.
Date: 15-Nov-2019
(enh #298, #289): Fix empty options when placeholder is set.
Date: 01-Nov-2019
(enh #301): Enhancements to multiple select RTL input and select all toggle.
Date: 31-Oct-2019
(enh #290): Correct select all feature to work with the new select2 plugin release.
Date: 02-Sep-2019
Enhancements for Bootstrap 4.x Support.
Date: 07-Sep-2018
Reorganize all source code in src directory.
Date: 17-Aug-2018
src directory.(enh #241): Enhancements to Select2 Krajee theme styles.
Date: 25-Nov-2017
(enh #220): Correct array combine for multiple select.
Date: 07-Aug-2017
(enh #208): Enhance select2 clearing of values.
Date: 12-Apr-2017
has-success and has-error states.Select All functionality for ajax based multiple selects.multiple mode.(enh #126): Enhance jQuery event handling for Krajee's additional features.
Date: 17-Feb-2016
(enh #110): Enhancements for PJAX based reinitialization. Complements enhancements in kartik-v/yii2-krajee-base#52 and kartik-v/yii2-krajee-base#53.
Date: 10-Jan-2016
(enh #104): Enhance Select2 custom init routines to work with jQuery, AMD and CommonJS.
Date: 22-Dec-2015
(enh #99): Add messages and translations support.
Date: 21-Dec-2015
x clear indicator.success and error states for active field trapped errorschangeOnReset)toggleAllSettings). Allow complete configuration and styling of the same .maintainOrder which defaults to false. Set this to true to maintain order)data-s2-options is now stored in parent select input. This will store the global variable that will maintain the additional Json encoded options to be used by initS2Loading method.(enh #96): Enhance fix for clearing Select2 selection.
Date: 14-Dec-2015
(enh #64): Ability to reset Select2 on form reset.
Date: 13-Sep-2015
multiple property.(enh #54): Styling for select2 on focus (via tab and applicable only for THEME_KRAJEE).
Date: 01-Jul-2015
isset instead of empty.lib folder to assets for consistency.(enh #49): Allow custom tags to be added for both single select and multiple select.
Date: 07-Jun-2015
krajeeselect2:cleared.data and multiple ajax select.Major revamp to the widget. Version bumped to release v2.0.0.
Date: 09-May-2015
Major revamp to the widget. Version bumped to release v2.0.0.
theme property that allows you to set themes in Select2 to style your widget.Select2::THEME_KRAJEE is specially styled for Select2. This will help achieve various new yii2-widget-select2 features. This theme matches the bootstrap 3 styling with enhancements.Select2::THEME_DEFAULT, Select2::THEME_CLASSIC, and Select2::THEME_BOOTSTRAP. One can add their own custom theme and configure the widget.query plugin property needed. It is also not mandatory to configure data even if you have not set tags or query or ajax. Widget will intelligently evaluate the properties and default list values.initSelection method of Select2 3.5.x plugin is obsolete/removed. New initValueText property is been provided with the Select2 widget to cater to this (e.g. for ajax based loading).…plugin with various enhancements and some BC breaking changes.
Date: 03-May-2015
This will be the last release that supports Select2 3.x plugin version (the last version being Select2 plugin version 3.5.2). Future releases will start using the Select2 4.0 version which is a major rewrite of Select2 plugin with various enhancements and some BC breaking changes.
Sub repo split from yii2-widgets
Date: 09-Nov-2014
One column per quarter.