]> source.dussan.org Git - gitea.git/commit
enforce maxlength in frontend (#29389)
authorTim-Niclas Oelschläger <72873130+zokkis@users.noreply.github.com>
Sun, 25 Feb 2024 14:31:15 +0000 (15:31 +0100)
committerGitHub <noreply@github.com>
Sun, 25 Feb 2024 14:31:15 +0000 (14:31 +0000)
commit756b952c52f1efbb137df36d5b97b370c8a45565
tree56494f3b25b7fe8a1b319ebb563b42dd7e5d6f14
parentd2f6588b66549b33adf8bac7044d03c89d668470
enforce maxlength in frontend (#29389)

Set maxlength attribute in frontend

to long file-name

![image](https://github.com/go-gitea/gitea/assets/72873130/15111614-55ab-4583-acb2-15c25997601d)

![image](https://github.com/go-gitea/gitea/assets/72873130/4105ddd8-4973-4da8-b3ab-4cfae1b45554)
(same for branch-name and commit-summary)
templates/repo/editor/commit_form.tmpl
templates/repo/editor/edit.tmpl
templates/repo/editor/patch.tmpl
templates/repo/editor/upload.tmpl
web_src/js/utils.js