Skip to content

Commit ca8e202

Browse files
authored
Update permit_empty rule description
Clarify behavior of permit_empty validation rule.
1 parent ca2a524 commit ca8e202

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/libraries/validation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -976,9 +976,9 @@ not_in_list Yes Fails if field is within a predetermined
976976
numeric No Fails if field contains anything other than
977977
numeric characters.
978978
permit_empty No Allows the field to receive an empty array,
979-
empty string, null or false. Skips all other
980-
validation rules except for required_with and
981-
required_without.
979+
empty string, null or false. When true,
980+
skips all other validation rules except for
981+
required_with and required_without.
982982
regex_match Yes Fails if field does not match the regular ``regex_match[/regex/]``
983983
expression.
984984
required No Fails if the field is an empty array, empty

0 commit comments

Comments
 (0)