0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-02 14:05:07 +01:00
gitea/templates/repo/issue
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
..
fields Add validations.required check to dropdown field (#24849) 2023-05-22 21:26:48 +00:00
labels Improve accessibility when (re-)viewing files (#24817) 2023-05-21 20:47:41 +00:00
milestone Improve milestone filter on issues page (#22423) 2023-04-30 09:12:49 -04:00
view_content Fix missing yes/no in delete time log modal (#24851) 2023-05-22 09:46:50 +00:00
branch_selector_field.tmpl
choose.tmpl
comment_tab.tmpl
label_precolors.tmpl
labels.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
list.tmpl Support no label/assignee filter and batch clearing labels/assignees (#24707) 2023-05-17 17:21:35 +08:00
milestone_issues.tmpl Notification list enhancements, fix striped tables on dark theme (#24639) 2023-05-10 21:59:58 +00:00
milestone_new.tmpl
milestones.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
navbar.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
new_form.tmpl Support markdown editor for issue template (#24400) 2023-05-08 22:22:52 +00:00
new.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
openclose.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
search.tmpl Improve "goto issue by number" button (#24577) 2023-05-10 15:50:58 +00:00
view_content.tmpl Change --font-weight-bold to --font-weight-semibold and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
view_title.tmpl Improve accessibility when (re-)viewing files (#24817) 2023-05-21 20:47:41 +00:00
view.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00