Inhibit browser autocomplete when selecting a project

Otherwise the browser autocompletion suggestions can compete with
the one provided by StoryBoard and hide it underneath.
There are a lot of searchable fields, this patch mostly covers
the project searching ones.

Change-Id: Ifc61ae1506b0133bdd66544037e1e6ad87f03f03
Story: 2000818
Task: 3409
This commit is contained in:
David Moreau-Simard 2016-12-03 08:54:56 -05:00
parent 6936457b52
commit 09d16e310d
6 changed files with 7 additions and 1 deletions

View File

@ -73,6 +73,7 @@
<input id="project"
type="text"
placeholder="Select a Project"
autocomplete="off"
required
ng-model="project"
typeahead-editable="false"

View File

@ -146,6 +146,7 @@
<input id="project"
type="text"
placeholder="Select a Project"
autocomplete="off"
required
ng-model="project"
typeahead-wait-ms="200"

View File

@ -144,6 +144,7 @@
<input id="project"
type="text"
placeholder="Select a Project"
autocomplete="off"
required
ng-model="project"
typeahead-wait-ms="200"

View File

@ -47,7 +47,8 @@
tag-complete-tag-template-url="'app/search/template/criteria_tag_item.html'"
tag-complete-loading="loadingCriteria = isLoading"
tag-complete-on-select="addCriteria(tag)"
placeholder="Search Projects">
placeholder="Search Projects"
autocomplete="off">
</div>
<span class="form-control-feedback text-muted">
<i class="fa fa-search"

View File

@ -177,6 +177,7 @@
<input id="project"
type="text"
placeholder="Select a Project"
autocomplete="off"
required
ng-model="asyncProject"
typeahead-wait-ms="200"

View File

@ -120,6 +120,7 @@
<input type="text"
class="form-control"
placeholder="Jump to..."
autocomplete="off"
ng-model="searchString"
typeahead-wait-ms="200"
typeahead-append-to-body="true"