1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 09:44:26 +00:00
gitea/templates/repo/issue/fields
Giteabot 6befca1695
Fix required checkboxes in issue forms (#27592) (#27692)
Backport #27592 by @JakobDev

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)

Co-authored-by: JakobDev <jakobdev@gmx.de>
2023-10-19 15:35:29 +02:00
..
checkboxes.tmpl Fix required checkboxes in issue forms (#27592) (#27692) 2023-10-19 15:35:29 +02:00
dropdown.tmpl Add validations.required check to dropdown field (#24849) 2023-05-22 21:26:48 +00:00
header.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
input.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
markdown.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
textarea.tmpl cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00