Skip to content

Commit 70c2d7a

Browse files
brunoborgesCopilot
andcommitted
Change category from dropdown to input for URL pre-fill support
GitHub issue form dropdowns do not support pre-filling via URL query parameters. Switching to input ensures the category field is populated when clicking the Contribute button from a pattern page. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e909e9f commit 70c2d7a

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/ISSUE_TEMPLATE/code-issue.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,12 @@ body:
1212
Found a bug, compilation error, or inaccuracy in the code examples
1313
of an existing pattern? Let us know so we can fix it.
1414
15-
- type: dropdown
15+
- type: input
1616
id: category
1717
attributes:
1818
label: Category
19-
options:
20-
- language
21-
- collections
22-
- strings
23-
- streams
24-
- concurrency
25-
- io
26-
- errors
27-
- datetime
28-
- security
29-
- tooling
30-
- enterprise
19+
description: "Pattern category (e.g., language, collections, strings, streams, concurrency, io, errors, datetime, security, tooling, enterprise)"
20+
placeholder: "security"
3121
validations:
3222
required: true
3323

0 commit comments

Comments
 (0)