From 43299163f3af328bd031462b76c12a8db43718bc Mon Sep 17 00:00:00 2001 From: Kavalar Date: Sun, 26 May 2024 12:57:30 +0300 Subject: [PATCH] fix product form --- frontend/modules/product/views/product/_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/modules/product/views/product/_form.php b/frontend/modules/product/views/product/_form.php index 2fcb352..2d39f45 100644 --- a/frontend/modules/product/views/product/_form.php +++ b/frontend/modules/product/views/product/_form.php @@ -17,7 +17,7 @@ use yii\bootstrap4\ActiveForm; field($model, 'article')->textInput(['maxlength' => true]) ?> - field($model, 'company_id')->dropDownList($companies, ['id' => 'company_select']) ?> + field($model, 'company_id')->dropDownList($companies, ['id' => 'company_select', 'prompt' => 'Выберите компанию']) ?>