Skip to content

Commit

Permalink
fix(chrome-only): Change autocomplete from 'nope' to 'off' (#273)
Browse files Browse the repository at this point in the history
* Revert "0.34.0"

This reverts commit fc9a3b4.

* Revert "feat: change autocomplete from 'off' to 'nope' (#250)"

This reverts commit fbbed04.
  • Loading branch information
Haroenv authored Dec 11, 2018
1 parent fc9a3b4 commit 892a8f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/autocomplete/typeahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ function buildDom(options) {
.prop('readonly', true)
.attr({
'aria-hidden': 'true',
autocomplete: 'nope',
autocomplete: 'off',
spellcheck: 'false',
tabindex: -1
});
Expand All @@ -563,7 +563,7 @@ function buildDom(options) {
$input
.addClass(_.className(options.cssClasses.prefix, options.cssClasses.input, true))
.attr({
autocomplete: 'nope',
autocomplete: 'off',
spellcheck: false,

// Accessibility features
Expand Down

0 comments on commit 892a8f0

Please sign in to comment.