From 2616acd8f32cd9ea55ae29aab2c95f7a42a473ff Mon Sep 17 00:00:00 2001 From: Ana Cicconi Date: Sat, 23 May 2015 12:18:18 +0200 Subject: [PATCH] Constraints - empty strings and null values --- reference/constraints/Length.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reference/constraints/Length.rst b/reference/constraints/Length.rst index 034024e17b5..82d30261827 100644 --- a/reference/constraints/Length.rst +++ b/reference/constraints/Length.rst @@ -115,6 +115,10 @@ min This required option is the "min" length value. Validation will fail if the given value's length is **less** than this min value. +It is important to notice that NULL values and empty strings are considered +valid no matter if the constraint required a minimum length. Validators are +triggered only if the value is not blank. + max ~~~