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

Fix(templates): Autocomplete=false does not work in Edge #1505

Merged
merged 1 commit into from
Mar 23, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bootstrap/select-multiple.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
<div class="ui-select-match"></div>
<input type="text"
autocomplete="false"
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/select.tpl.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="ui-select-container ui-select-bootstrap dropdown" ng-class="{open: $select.open}">
<div class="ui-select-match"></div>
<input type="text" autocomplete="false" tabindex="-1"
<input type="text" autocomplete="off" tabindex="-1"
aria-expanded="true"
aria-label="{{ $select.baseTitle }}"
aria-owns="ui-select-choices-{{ $select.generatedId }}"
Expand Down
2 changes: 1 addition & 1 deletion src/select2/select-multiple.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<li class="select2-search-field">
<input
type="text"
autocomplete="false"
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"
Expand Down
2 changes: 1 addition & 1 deletion src/select2/select.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="ui-select-dropdown select2-drop select2-with-searchbox select2-drop-active"
ng-class="{'select2-display-none': !$select.open}">
<div class="select2-search" ng-show="$select.searchEnabled">
<input type="text" autocomplete="false" autocorrect="false" autocapitalize="off" spellcheck="false"
<input type="text" autocomplete="off" autocorrect="false" autocapitalize="off" spellcheck="false"
role="combobox"
aria-expanded="true"
aria-owns="ui-select-choices-{{ $select.generatedId }}"
Expand Down
2 changes: 1 addition & 1 deletion src/selectize/select.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ng-class="{'focus': $select.open, 'disabled': $select.disabled, 'selectize-focus' : $select.focus}"
ng-click="$select.open && !$select.searchEnabled ? $select.toggle($event) : $select.activate()">
<div class="ui-select-match"></div>
<input type="text" autocomplete="false" tabindex="-1"
<input type="text" autocomplete="off" tabindex="-1"
class="ui-select-search ui-select-toggle"
ng-click="$select.toggle($event)"
placeholder="{{$select.placeholder}}"
Expand Down