diff --git a/yii/widgets/ActiveForm.php b/yii/widgets/ActiveForm.php index 0225f76..51b883f 100644 --- a/yii/widgets/ActiveForm.php +++ b/yii/widgets/ActiveForm.php @@ -135,6 +135,7 @@ class ActiveForm extends Widget $options = Json::encode($this->getClientOptions()); $attributes = Json::encode($this->attributes); $this->view->registerJs("jQuery('#$id').yiiActiveForm($attributes, $options);"); + $this->view->registerAssetBundle('yii/form'); } echo Html::endForm(); }