Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 9f1950b

Browse files
committed
Merge pull request #1210 from angular-ui/fix-autocomplete-off-attr
fix(templates): autocomplete off to false
2 parents a14e81d + a3e2e95 commit 9f1950b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Diff for: src/bootstrap/select-multiple.tpl.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div>
33
<div class="ui-select-match"></div>
44
<input type="text"
5-
autocomplete="off"
5+
autocomplete="false"
66
autocorrect="off"
77
autocapitalize="off"
88
spellcheck="false"

Diff for: src/bootstrap/select.tpl.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="ui-select-container ui-select-bootstrap dropdown" ng-class="{open: $select.open}">
22
<div class="ui-select-match"></div>
3-
<input type="text" autocomplete="off" tabindex="-1"
3+
<input type="text" autocomplete="false" tabindex="-1"
44
aria-expanded="true"
55
aria-label="{{ $select.baseTitle }}"
66
aria-owns="ui-select-choices-{{ $select.generatedId }}"

Diff for: src/select2/select-multiple.tpl.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<li class="select2-search-field">
77
<input
88
type="text"
9-
autocomplete="off"
9+
autocomplete="false"
1010
autocorrect="off"
1111
autocapitalize="off"
1212
spellcheck="false"

Diff for: src/select2/select.tpl.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="ui-select-dropdown select2-drop select2-with-searchbox select2-drop-active"
88
ng-class="{'select2-display-none': !$select.open}">
99
<div class="select2-search" ng-show="$select.searchEnabled">
10-
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
10+
<input type="text" autocomplete="false" autocorrect="false" autocapitalize="off" spellcheck="false"
1111
role="combobox"
1212
aria-expanded="true"
1313
aria-owns="ui-select-choices-{{ $select.generatedId }}"

Diff for: src/selectize/select.tpl.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ng-class="{'focus': $select.open, 'disabled': $select.disabled, 'selectize-focus' : $select.focus}"
44
ng-click="$select.activate()">
55
<div class="ui-select-match"></div>
6-
<input type="text" autocomplete="off" tabindex="-1"
6+
<input type="text" autocomplete="false" tabindex="-1"
77
class="ui-select-search ui-select-toggle"
88
ng-click="$select.toggle($event)"
99
placeholder="{{$select.placeholder}}"

0 commit comments

Comments
 (0)