Skip to content

Commit 2b4f8d5

Browse files
committed
bug #8587 [Constraints/Collection] Add missing : and ~ in the yaml code block (NicolasDievart)
This PR was merged into the 2.7 branch. Discussion ---------- [Constraints/Collection] Add missing : and ~ in the yaml code block There were some typos in the yaml code block, some missing : and ~ Commits ------- 2778d33 Add missing : and ~ in the yaml code block
2 parents 942e759 + 2778d33 commit 2b4f8d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/constraints/Collection.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ following:
9595
fields:
9696
personal_email: Email
9797
short_bio:
98-
- NotBlank
98+
- NotBlank: ~
9999
- Length:
100100
max: 100
101101
maxMessage: Your short bio is too long!
@@ -223,7 +223,7 @@ you can do the following:
223223
- Collection:
224224
fields:
225225
personal_email:
226-
- Required
226+
- Required:
227227
- NotBlank: ~
228228
- Email: ~
229229
alternate_email:

0 commit comments

Comments
 (0)