Skip to content

Commit 16c92fd

Browse files
committed
Set autocomplete off on branches selector
Fix go-gitea#15782 Signed-off-by: Andrew Thornton <[email protected]>
1 parent a2df265 commit 16c92fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/branch_dropdown.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<div class="menu transition" :class="{visible: menuVisible}" v-if="menuVisible" v-cloak>
3232
<div class="ui icon search input">
3333
<i class="icon df ac jc m-0">{{svg "octicon-filter" 16}}</i>
34-
<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}}...">
34+
<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}}...">
3535
</div>
3636
{{if $showBranchesInDropdown}}
3737
<div class="header branch-tag-choice">

0 commit comments

Comments
 (0)