mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 14:57:23 +08:00
'yii/form' → 'yii/validation'
This commit is contained in:
@@ -126,7 +126,7 @@ class RequiredValidator extends Validator
|
||||
'{value}' => $object->$attribute,
|
||||
)));
|
||||
|
||||
$view->registerAssetBundle('yii/form');
|
||||
$view->registerAssetBundle('yii/validation');
|
||||
return 'yii.validation.required(value, messages, ' . json_encode($options) . ');';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user