Skip to content

Commit 2778d33

Browse files
NicolasDievartNico
authored and
Nico
committed
Add missing : and ~ in the yaml code block
1 parent 942e759 commit 2778d33

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)