0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 05:51:33 +01:00
gitea/modules/issue/template
Giteabot 7d56ee3c0f
Support setting the default attribute of the issue template dropdown field (#31045) (#31059)
Backport #31045 by @Zettat123

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.

Co-authored-by: Zettat123 <zettat123@gmail.com>
2024-05-24 11:01:09 +08:00
..
template.go Support setting the default attribute of the issue template dropdown field (#31045) (#31059) 2024-05-24 11:01:09 +08:00
template_test.go Support setting the default attribute of the issue template dropdown field (#31045) (#31059) 2024-05-24 11:01:09 +08:00
unmarshal.go Extend issue template yaml engine (#29274) 2024-03-04 01:37:00 +01:00