mirror of
https://github.com/go-gitea/gitea
synced 2024-08-27 20:45:22 +02:00
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) |
||
---|---|---|
.. | ||
checkboxes.tmpl | ||
dropdown.tmpl | ||
header.tmpl | ||
input.tmpl | ||
markdown.tmpl | ||
textarea.tmpl |