Skip to content

Commit 3b08edb

Browse files
authored
Update permit_empty rule description in validation guide
Clarify the behavior of the 'permit_empty' validation rule.
1 parent ca8e202 commit 3b08edb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/libraries/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ 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. When true,
979+
empty string, null or false. On success, it
980980
skips all other validation rules except for
981981
required_with and required_without.
982982
regex_match Yes Fails if field does not match the regular ``regex_match[/regex/]``

0 commit comments

Comments
 (0)