Skip to content

Commit ccdad8f

Browse files
authored
Add missing validations showcase to checkboxes examples
1 parent 1801b6f commit ccdad8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ For example, the following form definition includes four form elements: a text a
5151
options:
5252
- label: I agree to follow this project's [Code of Conduct](link/to/coc)
5353
required: true
54+
validations:
55+
required: true
5456
- type: markdown
5557
attributes:
5658
value: "Thanks for completing our form!"
@@ -270,6 +272,8 @@ body:
270272
- label: macOS
271273
- label: Windows
272274
- label: Linux
275+
validations:
276+
required: true
273277
```
274278

275279
## Further reading

0 commit comments

Comments
 (0)