mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
Update Validator.php
This commit is contained in:
@ -165,7 +165,7 @@ class Validator extends Component
|
|||||||
*
|
*
|
||||||
* ```php
|
* ```php
|
||||||
* function (attribute, value) {
|
* function (attribute, value) {
|
||||||
* return $('#country').value == 'USA';
|
* return $('#country').val() == 'USA';
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user