mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-14 05:08:42 +08:00
'yii/form' → 'yii/validation'
This commit is contained in:
@@ -112,7 +112,7 @@ class RegularExpressionValidator extends Validator
|
||||
$options['skipOnEmpty'] = 1;
|
||||
}
|
||||
|
||||
$view->registerAssetBundle('yii/form');
|
||||
$view->registerAssetBundle('yii/validation');
|
||||
return 'yii.validation.regularExpression(value, messages, ' . Json::encode($options) . ');';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user