field($model, 'project_id')->dropDownList( Project::find()->select(['name', 'id'])->indexBy('id')->column(), [ 'id' => 'project-id', 'placeholder' => 'Выберите', 'prompt' => 'Выберите' ] ) ?> field($model, 'mark_id')->widget(DepDrop::className(), [ 'options' => ['id' => 'mark_id'], 'pluginOptions' => [ 'depends' => ['project-id'], 'url' => Url::to(['/project/project-mark/users-not-on-project']) ,'initialize' => false, ], 'type' => DepDrop::TYPE_SELECT2, 'select2Options' => [ 'hideSearch' => false, 'pluginOptions' => [ 'placeholder' => 'Вводите название метки', 'allowClear' => true, 'closeOnSelect' => false, 'multiple' => true, 'hideSearch' => false ], 'showToggleAll' => true, ], ] ); ?>
'btn btn-success']) ?>