]> source.dussan.org Git - gitea.git/commit
Fix required checkboxes in issue forms (#27592)
authorJakobDev <jakobdev@gmx.de>
Thu, 19 Oct 2023 11:43:15 +0000 (13:43 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Oct 2023 11:43:15 +0000 (11:43 +0000)
commit398eccb322f64dded83a119467af2cb38f6dbd46
treee42a9b245a10ee7ecd2800be6a2166f8e4286612
parente91d4f106b1f97abb06f3af9506f00a730357f9e
Fix required checkboxes in issue forms (#27592)

If you set a checkbox as required in a issue form at the moment, the
checkbox is checked and read only, what does not make much sense. With
this PR, the Checkbox actually needs to be checked. The label supports
now also Markdown. This matches GitHub's behaviour.

And yes, I know the CSS is a ugly workaround. It looks like the given
CSS code is part Fomantic and I don't know how to change that. The
Maintainers are free to change that.

![grafik](https://github.com/go-gitea/gitea/assets/15185051/3f35be75-b0b4-42a7-9048-a4970384a035)
templates/repo/issue/fields/checkboxes.tmpl