]> source.dussan.org Git - gitea.git/commitdiff
Set autocomplete off on branches selector (#15809)
authorzeripath <art27@cantab.net>
Tue, 11 May 2021 16:32:06 +0000 (17:32 +0100)
committerGitHub <noreply@github.com>
Tue, 11 May 2021 16:32:06 +0000 (12:32 -0400)
Fix #15782

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
templates/repo/branch_dropdown.tmpl

index 9ddadeb3daae3952b0f909346b8d946f922e2f2b..0c8805f240f5acba46aa895535399ffc5af7f668 100644 (file)
@@ -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">