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