Skip to content

Commit d6df8a5

Browse files
committed
Revert "Add "autocomplete" as initialization option (#17159)"
This reverts commit 9896781.
1 parent 9896781 commit d6df8a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

awesomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var _ = function (input, o) {
1919
this.isOpened = false;
2020

2121
this.input = $(input);
22-
this.input.setAttribute("autocomplete", "awesomplete");
22+
this.input.setAttribute("autocomplete", "off");
2323
this.input.setAttribute("aria-owns", "awesomplete_list_" + this.count);
2424
this.input.setAttribute("role", "combobox");
2525

test/init/htmlSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe("Html modifications", function () {
1010
});
1111

1212
it("turns native autocompleter off", function () {
13-
expect(this.subject.input.getAttribute("autocomplete")).toBe("awesomplete");
13+
expect(this.subject.input.getAttribute("autocomplete")).toBe("off");
1414
});
1515

1616
describe("HTML tweaks", function () {

0 commit comments

Comments
 (0)