You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/common-validation-errors-when-creating-issue-forms.md
-6Lines changed: 0 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -311,7 +311,6 @@ Errors with `body` will be prefixed with `body[i]` where `i` represents the zero
311
311
body:
312
312
- attributes:
313
313
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
314
-
preview_only: false
315
314
```
316
315
317
316
The error can be fixed by adding the key `type` with a valid input type as the value. For the available `body` input types and their syntaxes, see "[Syntax for {% data variables.product.prodname_dotcom %}'s form schema](/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema#keys)."
@@ -321,7 +320,6 @@ body:
321
320
- type: markdown
322
321
attributes:
323
322
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
324
-
preview_only: false
325
323
```
326
324
327
325
## Body[i]: `x` is not a valid input type
@@ -337,7 +335,6 @@ body:
337
335
- type: x
338
336
attributes:
339
337
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
340
-
preview_only: false
341
338
```
342
339
343
340
The error can be fixed by changing `x` to one of the valid types.
@@ -347,7 +344,6 @@ body:
347
344
- type: markdown
348
345
attributes:
349
346
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
350
-
preview_only: false
351
347
```
352
348
353
349
## Body[i]: required attribute key `value` is missing
@@ -363,7 +359,6 @@ body:
363
359
- type: markdown
364
360
attributes:
365
361
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
366
-
preview_only: false
367
362
- type: markdown
368
363
```
369
364
@@ -374,7 +369,6 @@ body:
374
369
- type: markdown
375
370
attributes:
376
371
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
0 commit comments