PHP code example of lg-xenos / yii2-multiple-selector
1. Go to this page and download the library: Download lg-xenos/yii2-multiple-selector library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lg-xenos / yii2-multiple-selector example snippets
echo $form
->field($model, 'main_image')
->widget(\lgxenos\yii2\imgSelector\ImageSelector::className());
->widget(\lgxenos\yii2\multipleSelector\MultipleSelector::className(), ['items' => SomeModel::getDropdownArray(), 'multiple' => 1]);