From 856339b18afe14cf28036b958be7cb0f7f0c4dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 23 Oct 2015 11:41:45 +0200 Subject: [PATCH] Disable HTML autocompletion on InputCompletion --- src/common.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common.js b/src/common.js index 4a6b67e7a8..a603c83e5d 100644 --- a/src/common.js +++ b/src/common.js @@ -2954,6 +2954,7 @@ this.dropdown = el.parent(); } this.input = el.find('input').add(el.filter('input')).first(); + this.input.attr('autocomplete', 'off'); // bootstrap requires an element with data-toggle jQuery('', { 'data-toggle': 'dropdown'