Logo
Explore Help
Register Sign In
opensource/gitea
1
0
Fork 0
You've already forked gitea
mirror of https://gitcode.com/gitea/gitea.git synced 2025-10-25 03:57:13 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
gitea/templates/repo/issue/fields
History
yp05327 5c0745c034 Add validations.required check to dropdown field (#24849)
If dropdown is marked as required, we should not provide the `remove`
button.
This will cause user may post empty value which seems like a bug.

Definition:

![image](https://github.com/go-gitea/gitea/assets/18380374/cf48b478-244e-44e0-9a0e-7a0f02bc471a)
Post request form:

![image](https://github.com/go-gitea/gitea/assets/18380374/31d6f823-835f-422a-879c-3b1e18950ac8)
Result:

![image](https://github.com/go-gitea/gitea/assets/18380374/a9944fe9-24d0-4776-9eec-d31b70144eb4)
2023-05-22 21:26:48 +00:00
..
checkboxes.tmpl
…
dropdown.tmpl
Add validations.required check to dropdown field (#24849)
2023-05-22 21:26:48 +00:00
header.tmpl
…
input.tmpl
…
markdown.tmpl
…
textarea.tmpl
Support markdown editor for issue template (#24400)
2023-05-08 22:22:52 +00:00
Powered by Gitea Version: 1.24.0+dev-462-ge25f860735 Page: 1340ms Template: 69ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API