summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2016-06-28 17:19:59 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2016-06-28 17:19:59 +0100
commit8a27e8bb047ed45081a79f0a1429597c8f494299 (patch)
tree0bce8de4b01be88a38d20c1bda9ecf5913431520
parent1ade080ec89eb6be67a03dc82a1002ad7fd9d51c (diff)
downloadgitlab-ce-8a27e8bb047ed45081a79f0a1429597c8f494299.tar.gz
Disabled native autocomplete for dropdown filter inputs19184-turn-off-autocomplete-on-label-dropdown-for-issues-mr-s
-rw-r--r--app/helpers/dropdowns_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/dropdowns_helper.rb b/app/helpers/dropdowns_helper.rb
index 6b617e1730a..7c140538012 100644
--- a/app/helpers/dropdowns_helper.rb
+++ b/app/helpers/dropdowns_helper.rb
@@ -69,7 +69,7 @@ module DropdownsHelper
def dropdown_filter(placeholder, search_id: nil)
content_tag :div, class: "dropdown-input" do
- filter_output = search_field_tag search_id, nil, class: "dropdown-input-field", placeholder: placeholder
+ filter_output = search_field_tag search_id, nil, class: "dropdown-input-field", placeholder: placeholder, autocomplete: 'off'
filter_output << icon('search', class: "dropdown-input-search")
filter_output << icon('times', class: "dropdown-input-clear js-dropdown-input-clear", role: "button")