Property |
Type |
Description |
|
$integerOnly |
|
whether the attribute value can only be an integer. Defaults to false. |
|
$integerPattern |
|
the regular expression for matching integers. |
|
$max |
|
upper limit of the number. Defaults to null, meaning no upper limit. |
|
$min |
|
lower limit of the number. Defaults to null, meaning no lower limit. |
|
$numberPattern |
|
the regular expression for matching numbers. It defaults to a pattern
that matches floating numbers with optional exponential part (e.g. -1.23e-10). |
|
$tooBig |
|
user-defined error message used when the value is bigger than [[max]]. |
|
$tooSmall |
|
user-defined error message used when the value is smaller than [[min]]. |
|