mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 04:37:42 +08:00
add note about #8897 to the docs
This commit is contained in:
@ -62,6 +62,8 @@ class CompareValidator extends Validator
|
||||
* - `>=`: check if value being validated is greater than or equal to the value being compared with.
|
||||
* - `<`: check if value being validated is less than the value being compared with.
|
||||
* - `<=`: check if value being validated is less than or equal to the value being compared with.
|
||||
*
|
||||
* When you want to compare numbers, make sure to also set [[type]] to `number`.
|
||||
*/
|
||||
public $operator = '==';
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user