diff --git a/views/ticket/_search.php b/views/ticket/_search.php index c965186..4fde7ce 100644 --- a/views/ticket/_search.php +++ b/views/ticket/_search.php @@ -56,7 +56,7 @@ ]); ?> = $form->field($model, 'state')->widget(StaticCombo::classname(), [ - 'data' => array_merge(['' => ''], $state_data), + 'data' => $state_data, ]); ?> @@ -64,11 +64,21 @@ = $form->field($model, 'author_id')->widget(ClientCombo::classname()); ?> = $form->field($model, 'responsible_id')->widget(ClientCombo::classname(), [ - 'clientType' => 'manager' + 'clientType' => 'manager', +// 'pluginOptions' => [ +// 'select2Options' => [ +// 'multiple' => true, +// ], +// ], ]); ?> = $form->field($model, 'topics')->widget(StaticCombo::classname(), [ - 'data' => array_merge(['' => ''], $topic_data), + 'data' => $topic_data, + 'pluginOptions' => [ + 'select2Options' => [ + 'multiple' => true, + ] + ], ]); ?> @@ -78,18 +88,18 @@ ]); ?> = $form->field($model, 'priority')->widget(StaticCombo::classname(), [ - 'data' => array_merge(['' => ''], $priority_data), + 'data' => $priority_data, ]);?> - field($model, 'watchers')->widget(ClientCombo::classname()); ?> + field($model, 'watchers')->widget(ClientCombo::classname(), [ +// 'pluginOptions' => [ +// 'select2Options' => [ +// 'multiple' => true, +// ], +// ], + ]); ?> - - field($model, 'message') ?> - - field($model, 'answer_message') ?> - -