haarecords.blogg.se

Yii2 Theme
Yii2 Theme












Yii2 Theme

New initValueText property is been provided with the Select2 widget to cater to this (e.g. The initSelection method of Select2 3.5.x plugin is obsolete/removed. In addition, one can create tags on the fly.Įnhanced ajax support. Use it just like a multiple select but with taggable values. Widget will intelligently evaluate the properties and default list values.Įnhanced tagging support. It is also not mandatory to configure data even if you have not set tags or query or ajax. One canĪdd their own custom theme and configure the widget This theme matches the Bootstrap library styling with various enhancements.Īdditional themes provided in form of Select2::THEME_DEFAULT, Select2::THEME_CLASSIC, and Select2::THEME_BOOTSTRAP. This will help achieve various widget specific enhancements and features. New theme property that allows you to set themes in Select2 to style your widget.Ī brand new theme by Krajee Select2::THEME_KRAJEE is now available and specially styled for yii2-widget-select2. The following new functionalities andĬhanges should be expected with this release. Select2 release v4.0 is a major rewrite over Select2 v4.x / 3.x and hence quite a few enhancements or changes should be expected. New release v2.0: The widget has been revamped and upgraded to v2.0 to implement Select2 plugin release v4.0. Uses Select2 widget for input like any other field.

Yii2 Theme

You can setup model validation rules for a model attribute that Normal HTML select or text input, if the browser does not support JQuery. The widget allows graceful degradation to a The widget is specially styled for Bootstrap library.

Yii2 Theme

It supports searching, remote data sets,Īnd infinite scrolling of results.

Yii2 Theme

This input widget is a jQuery based replacement for select boxes. Therefore it is recommended to copy the views into your application and adjust them to your needs.The Select2 widget is a Yii 2 wrapper for the Select2 jQuery plugin. If you do that, your changes will be lost next time you run composer update. 'pathMap' => => => => => => => => => => => => => asset bundle provides sample files for layout and view (see folder views/), they are not meant to be customized directly in the vendor/ folder.














Yii2 Theme