Download the PHP package diiimonn/yii2-widget-checkbox-multiple without Composer
On this page you can find all versions of the php package diiimonn/yii2-widget-checkbox-multiple. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-widget-checkbox-multiple
yii2-widget-checkbox-multiple
Input widget to render multiple select box. Using jQuery ajax.
Installation
To install with composer:
or add
to the section of your composer.json
file.
Usage
view:
or not use ActiveForm
Settings
- data : array the select option data items. The array keys are option values, and the array values are the corresponding option labels. If not set this option the 'attribute' will be relation name.
- dataAttribute : string attribute name in relation models if not set 'data'.
- scriptOptions : array options for customize script settings.
- placeholder : string
- options : array options for widget tag.
- spinnerOptions : array options for yii2-widget-spinner-canvas.
scriptOptions
- templateItem : string, html
- templateCheckbox : string, html
- templateResultItem : string, html
- templateInput : string, html
- templateResultError : string, html
- templateResultWarning : string, html
- templatePlaceholder : string, html
- warningMessage : string
- errorMessage : string
- defaultCheckbox :: boolean If 'true' and not selected items will be selected checkbox with empty value. Default 'true'.
- limit : integer Max count selected items.
- slimScroll : array
- wait : integer Time out in millisecond before ajax request.
Customize scriptOptions example
controller:
All versions of yii2-widget-checkbox-multiple with dependencies
PHP Build Version
Package Version
The package diiimonn/yii2-widget-checkbox-multiple contains the following files
Loading the files please wait ....