Skip to content

Commit adf0d6e

Browse files
committed
Update dropdowns in issue templates to have no option selected by default
This change updates the bug and feature templates to set the first option as empty. This prevents form submission until an option is selected. Signed-off-by: Marc Handalian <[email protected]>
1 parent c7196da commit adf0d6e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/ISSUE_TEMPLATE/bug_template.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ body:
1515
description: Choose a specific OpenSearch component your bug belongs to. If you are unsure which to select or if the component is not present, select "Other".
1616
multiple: false
1717
options:
18-
- Other
18+
- # Empty first option to force selection
1919
- Build
2020
- Clients
2121
- Cluster Manager
@@ -24,6 +24,7 @@ body:
2424
- Indexing:Replication
2525
- Indexing
2626
- Libraries
27+
- Other
2728
- Plugins
2829
- Search:Aggregations
2930
- Search:Performance

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body:
2222
description: Choose a specific OpenSearch component your feature request belongs to. If you are unsure of which component to select or if the component is not present, select "Other".
2323
multiple: false
2424
options:
25-
- Other
25+
- # Empty first option to force selection
2626
- Build
2727
- Clients
2828
- Cluster Manager
@@ -31,6 +31,7 @@ body:
3131
- Indexing:Replication
3232
- Indexing
3333
- Libraries
34+
- Other
3435
- Plugins
3536
- Search:Aggregations
3637
- Search:Performance

0 commit comments

Comments
 (0)