aboutsummaryrefslogtreecommitdiffstats
path: root/modules/lfs
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2023-05-23 06:26:48 +0900
committerGitHub <noreply@github.com>2023-05-22 21:26:48 +0000
commit5c0745c0349f0709d0fc36fd8a97dcab86bce28a (patch)
treeb183263d0c4fb1105f5b39a98060112c7e06f7f2 /modules/lfs
parent81ce271f783331682e07594a179444077b240c84 (diff)
downloadgitea-5c0745c0349f0709d0fc36fd8a97dcab86bce28a.tar.gz
gitea-5c0745c0349f0709d0fc36fd8a97dcab86bce28a.zip
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)
Diffstat (limited to 'modules/lfs')
0 files changed, 0 insertions, 0 deletions