mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +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 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 the value being compared with.
|
||||||
* - `<=`: check if value being validated is less than or equal to 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 = '==';
|
public $operator = '==';
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user