add_skills

This commit is contained in:
SoHardKI
2019-07-03 16:06:11 +03:00
parent 6f7200ba7f
commit c7ea822e2d
2 changed files with 7 additions and 7 deletions

View File

@ -71,10 +71,11 @@ $this->params['breadcrumbs'][] = $this->title;
]);
},
'filter' => kartik\select2\Select2::widget([
'attribute' => 'skill_name',
'attribute' => 'skills',
'model' => $searchModel,
'data' => \common\models\UserCard::getNameSkills(),
'options' => ['placeholder' => 'Выбрать параметр','class' => 'form-control'],
// 'maintainOrder' => true,
'options' => ['multiple' => true,'placeholder' => 'Выбрать параметр','class' => 'form-control'],
'pluginOptions' => [
'allowClear' => true
],