Skip to content

Commit c9f313e

Browse files
authored
Merge pull request #16550 from timdeschryver/patch-2
issue templates: remove `preview_only` attribute
2 parents 3b8a1c3 + 14ce6a4 commit c9f313e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/common-validation-errors-when-creating-issue-forms.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ Errors with `body` will be prefixed with `body[i]` where `i` represents the zero
311311
body:
312312
- attributes:
313313
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
315314
```
316315

317316
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:
321320
- type: markdown
322321
attributes:
323322
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
325323
```
326324

327325
## Body[i]: `x` is not a valid input type
@@ -337,7 +335,6 @@ body:
337335
- type: x
338336
attributes:
339337
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
341338
```
342339

343340
The error can be fixed by changing `x` to one of the valid types.
@@ -347,7 +344,6 @@ body:
347344
- type: markdown
348345
attributes:
349346
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
351347
```
352348

353349
## Body[i]: required attribute key `value` is missing
@@ -363,7 +359,6 @@ body:
363359
- type: markdown
364360
attributes:
365361
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
367362
- type: markdown
368363
```
369364

@@ -374,7 +369,6 @@ body:
374369
- type: markdown
375370
attributes:
376371
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
377-
preview_only: false
378372
- type: markdown
379373
attributes:
380374
value: "This is working now!"

0 commit comments

Comments
 (0)