Skip to content

Commit

Permalink
Merge pull request github#16550 from timdeschryver/patch-2
Browse files Browse the repository at this point in the history
issue templates: remove `preview_only` attribute
  • Loading branch information
janiceilene committed May 25, 2022
2 parents 3b8a1c3 + 14ce6a4 commit c9f313e
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ Errors with `body` will be prefixed with `body[i]` where `i` represents the zero
body:
- attributes:
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
preview_only: false
```

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)."
Expand All @@ -321,7 +320,6 @@ body:
- type: markdown
attributes:
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
preview_only: false
```

## Body[i]: `x` is not a valid input type
Expand All @@ -337,7 +335,6 @@ body:
- type: x
attributes:
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
preview_only: false
```

The error can be fixed by changing `x` to one of the valid types.
Expand All @@ -347,7 +344,6 @@ body:
- type: markdown
attributes:
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
preview_only: false
```

## Body[i]: required attribute key `value` is missing
Expand All @@ -363,7 +359,6 @@ body:
- type: markdown
attributes:
value: "Thanks for taking the time to fill out this bug! If you need real-time help, join us on Discord."
preview_only: false
- type: markdown
```

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

0 comments on commit c9f313e

Please sign in to comment.