Remove autocorrect in search boxes on groups

Signed-off-by: Ghalid <24234921+Ghalid@users.noreply.github.com>
This commit is contained in:
Ghalid
2020-01-19 12:51:53 -05:00
parent 050fdb1c34
commit d93f1a22cb
8 changed files with 46 additions and 20 deletions

View File

@@ -125,6 +125,12 @@ $(document).ready(function() {
$("#ip-custom").val("");
$("#ip-custom").prop("disabled", $("#select option:selected").val() !== "custom");
});
// Disable autocorrect in the search box
var input = document.querySelector("input[type=search]");
input.setAttribute("autocomplete", "off");
input.setAttribute("autocorrect", "off");
input.setAttribute("autocapitalize", "off");
input.setAttribute("spellcheck", false);
});
function initTable() {