You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
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)
2 years ago
..
admin Rewrite logger system (#24726) 2 years ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Remove meta charset from HTML5 documents (#24744) 2 years ago
code Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
devtest Improve button-ghost, remove tertiary button (#24692) 2 years ago
explore Change `join_on` translation to `joined_on` and include placeholder for the date (#24550) 2 years ago
mail Remove incorrect HTML self close tag (#23748) 2 years ago
org Remove svg.svg class, restore .rss-icon (#24667) 2 years ago
package Add CRAN package registry (#22331) 2 years ago
projects Update pin and add pin-slash (#24669) 2 years ago
repo Add validations.required check to dropdown field (#24849) 2 years ago
shared Change `--font-weight-bold` to `--font-weight-semibold` and 600 value, introduce new font weight variables (#24827) 2 years ago
status Remove meta charset from HTML5 documents (#24744) 2 years ago
swagger Add CRAN package registry (#22331) 2 years ago
user Remove `In your repositories` link in milestones dashboard (#24853) 2 years ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2 years ago
install.tmpl Unification of registration fields order (#24737) 2 years ago
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago