Skip to content

Commit 90ad27c

Browse files
committed
Add missing validations showcase to checkboxes examples
1 parent ece3a5e commit 90ad27c

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
@@ -50,6 +50,8 @@ For example, the following form definition includes four form elements: a text a
5050
options:
5151
- label: I agree to follow this project's [Code of Conduct](link/to/coc)
5252
required: true
53+
validations:
54+
required: true
5355
- type: markdown
5456
attributes:
5557
value: "Thanks for completing our form!"
@@ -266,6 +268,8 @@ body:
266268
- label: macOS
267269
- label: Windows
268270
- label: Linux
271+
validations:
272+
required: true
269273
```
270274

271275
## Further reading

0 commit comments

Comments
 (0)