Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 18:04:24 +01:00
forgejo/modules/issue/template
Zettat123 df15abd072
Support setting the default attribute of the issue template dropdown field (#31045)
Fix #31044

According to [GitHub issue template
documentation](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema#attributes-for-dropdown),
the `default` attribute can be used to specify the preselected option
for a dropdown field.

(cherry picked from commit 7ab0988af140aa3e0204979765f75961f1dc9c11)
2024-05-26 20:13:09 +02:00
..
template.go Support setting the default attribute of the issue template dropdown field (#31045) 2024-05-26 20:13:09 +02:00
template_test.go Support setting the default attribute of the issue template dropdown field (#31045) 2024-05-26 20:13:09 +02:00
unmarshal.go Extend issue template yaml engine (#29274) 2024-03-06 12:10:47 +08:00