disable autocomplete on search fields

This commit is contained in:
Alexandra
2024-10-25 00:10:54 -06:00
parent f227c20778
commit ff7e85bb0f
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ _ / / / _ /_/ /_ / _ / / __/ / / / /_
</pre>
</a>
<input type="hidden" name="s" id="searchSettings">
<input id="search" type="text" class="w-50 form-control bg-dark text-white ml-2" name="q" value="<%= query %>"">
<input id="search" type="text" class="w-50 form-control bg-dark text-white ml-2" name="q" value="<%= query %>" autocomplete="off">
<button type="submit" class="btn btn-secondary ml-2">Search</button>
</div>

View File

@@ -12,7 +12,7 @@ _ / / / _ /_/ /_ / _ / / __/ / / / /_
<div class="text-center text-white">
<form>
<input type="hidden" name="s" id="searchSettings">
<input id="search" type="text" style="width: 80%;display: inline;" class="form-control bg-dark text-white mb-2" name="q">
<input id="search" type="text" style="width: 80%;display: inline;" class="form-control bg-dark text-white mb-2" name="q" autocomplete="off">
<ul class="SuggestionList col-sm-12" id="suggestionList" style="width: 78%;left: 11%;"></ul>
<div>
<button type="submit" formaction="/search" class="btn btn-secondary">Myrient Search</button>