summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-05-11 17:32:06 +0100
committerGitHub <noreply@github.com>2021-05-11 12:32:06 -0400
commitfc6501e4e0e1ca638d842e95221906632b6bc901 (patch)
tree869026c824ec55eaf25ce6e0255b15df787ecd96
parent2dc3e4edc8fff3020b60d70c8ca9836a6571a70d (diff)
downloadgitea-fc6501e4e0e1ca638d842e95221906632b6bc901.tar.gz
gitea-fc6501e4e0e1ca638d842e95221906632b6bc901.zip
Set autocomplete off on branches selector (#15809)
Fix #15782 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
-rw-r--r--templates/repo/branch_dropdown.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/branch_dropdown.tmpl b/templates/repo/branch_dropdown.tmpl
index 9ddadeb3da..0c8805f240 100644
--- a/templates/repo/branch_dropdown.tmpl
+++ b/templates/repo/branch_dropdown.tmpl
@@ -31,7 +31,7 @@
<div class="menu transition" :class="{visible: menuVisible}" v-if="menuVisible" v-cloak>
<div class="ui icon search input">
<i class="icon df ac jc m-0">{{svg "octicon-filter" 16}}</i>
- <input name="search" ref="searchField" v-model="searchTerm" @keydown="keydown($event)" placeholder="{{if $showBranchesInDropdown}}{{.root.i18n.Tr "repo.filter_branch_and_tag"}}{{else}}{{.root.i18n.Tr "repo.find_tag"}}{{end}}...">
+ <input name="search" ref="searchField" autocomplete="off" v-model="searchTerm" @keydown="keydown($event)" placeholder="{{if $showBranchesInDropdown}}{{.root.i18n.Tr "repo.filter_branch_and_tag"}}{{else}}{{.root.i18n.Tr "repo.find_tag"}}{{end}}...">
</div>
{{if $showBranchesInDropdown}}
<div class="header branch-tag-choice">