Skip to content

Commit a0d485f

Browse files
committed
add a validator for full name
1 parent 55a247d commit a0d485f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

copier/questions/essential.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ full_name:
2020
type: str
2121
placeholder: Jane Smith
2222
help: Enter your full name
23+
validator: >-
24+
{% if not full_name %}
25+
Name cannot be empty
26+
{% endif %}
2327
license:
2428
type: str
2529
choices:

0 commit comments

Comments
 (0)