Additional RangeValidator fixes

This commit is contained in:
Alexander Kochetov
2014-05-23 15:26:09 +04:00
parent b1ba2439a6
commit a4e8829717
2 changed files with 8 additions and 0 deletions

View File

@ -94,6 +94,9 @@ class RangeValidator extends Validator
if ($this->skipOnEmpty) {
$options['skipOnEmpty'] = 1;
}
if ($this->allowArray) {
$options['allowArray'] = 1;
}
ValidationAsset::register($view);