diff --git a/src/views/domain/checkDomain.php b/src/views/domain/checkDomain.php index 87b2ca27..e1218cc2 100644 --- a/src/views/domain/checkDomain.php +++ b/src/views/domain/checkDomain.php @@ -2,6 +2,7 @@ use hipanel\modules\domain\assets\DomainCheckPluginAsset; use hipanel\modules\domain\models\Domain; +use hiqdev\combo\StaticCombo; use yii\bootstrap\ActiveForm; use yii\helpers\Html; @@ -9,7 +10,7 @@ hipanel\frontend\assets\IsotopeAsset::register($this); \hipanel\frontend\assets\HipanelAsset::register($this); -//Yii::$app->assetManager->forceCopy = true; // todo: remove this line +Yii::$app->assetManager->forceCopy = true; // todo: remove this line $this->title = Yii::t('hipanel/domain', 'Domain check'); $this->breadcrumbs->setItems([ @@ -283,7 +284,13 @@ function concatValues(obj) {
- field($model, 'zone')->dropDownList($dropDownZonesOptions, ['class' => 'form-control input-lg']); ?> + field($model, 'zone')->widget(StaticCombo::classname(), [ + 'data' => $dropDownZonesOptions, + 'hasId' => false, + 'inputOptions' => [ + 'class' => 'form-control input-lg' + ] + ]); ?>