From 3653d1665e6d37e606d003255486908c1be5008f Mon Sep 17 00:00:00 2001 From: Onur Kat <5752017+onurkat@users.noreply.github.com> Date: Tue, 19 Oct 2021 16:07:23 +0300 Subject: [PATCH] autocomplete attribute value changed to nope autocomplete attribute value changed to "nope" because "off" is not working in modern browsers. --- src/jquery.mask.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery.mask.js b/src/jquery.mask.js index 54f171c9..4c6eee69 100755 --- a/src/jquery.mask.js +++ b/src/jquery.mask.js @@ -441,7 +441,7 @@ // and then press the "back" button, the autocomplete will erase // the data. Works fine on IE9+, FF, Opera, Safari. if (el.data('mask')) { - el.attr('autocomplete', 'off'); + el.attr('autocomplete', 'nope'); } // detect if is necessary let the user type freely.