From d5fccf672d37171710c07a3d69ff090dcd8e0b54 Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 26 Dec 2013 15:32:26 +0100 Subject: [PATCH] Number validator was missing --- docs/guide/validation.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/guide/validation.md b/docs/guide/validation.md index 5067cb6..66637c8 100644 --- a/docs/guide/validation.md +++ b/docs/guide/validation.md @@ -139,6 +139,13 @@ Validates that the attribute value matches the specified pattern defined by regu - `pattern` the regular expression to be matched with. - `not` whether to invert the validation logic. _(false)_ +### `number`: [[NumberValidator]] + +Validates that the attribute value is a number. + +- `max` limit of the number. _(null)_ +- `min` lower limit of the number. _(null)_ + ### `required`: [[RequiredValidator]] Validates that the specified attribute does not have null or empty value.