Skip to content

Commit 95b3bc7

Browse files
committed
chore: update the bug report template
1 parent 961abdc commit 95b3bc7

File tree

2 files changed

+71
-50
lines changed

2 files changed

+71
-50
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Bug Report
2+
description: File a bug report
3+
title: 'issue: '
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
- type: input
10+
id: version
11+
attributes:
12+
label: Version Number
13+
description: What's the version number?
14+
placeholder: Version number.
15+
validations:
16+
required: true
17+
- type: input
18+
id: codesandbox
19+
attributes:
20+
label: Codesandbox/Expo snack
21+
description: Codesandbox/Expo snack link
22+
validations:
23+
required: true
24+
- type: markdown
25+
attributes:
26+
value: |
27+
V7
28+
- [JS](https://codesandbox.io/s/great-paper-deove) Template
29+
- [TS](https://codesandbox.io/s/eager-sun-jt4df) Template
30+
- type: textarea
31+
id: what-happened
32+
attributes:
33+
label: Steps to reproduce
34+
placeholder: Tell us what you see!
35+
value: |
36+
1. Go to '...'
37+
2. Click on '....'
38+
3. Scroll down to '....'
39+
4. See error
40+
validations:
41+
required: true
42+
- type: textarea
43+
id: what-expect
44+
attributes:
45+
label: Expected behaviour
46+
validations:
47+
required: true
48+
- type: dropdown
49+
id: browsers
50+
attributes:
51+
label: What browsers are you seeing the problem on?
52+
multiple: true
53+
options:
54+
- Firefox
55+
- Chrome
56+
- Safari
57+
- Edge
58+
- type: textarea
59+
id: logs
60+
attributes:
61+
label: Relevant log output
62+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
63+
render: shell
64+
- type: checkboxes
65+
id: terms
66+
attributes:
67+
label: Code of Conduct
68+
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/react-hook-form/react-hook-form/blob/master/CODE_OF_CONDUCT.md)
69+
options:
70+
- label: I agree to follow this project's Code of Conduct
71+
required: true

0 commit comments

Comments
 (0)