Set maxlength for search input to 64 chars

fixes  #1329
This commit is contained in:
Aditya Telange 2023-11-11 12:15:11 +05:30
parent 4c50ed8bfa
commit ba739cfe29
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -22,7 +22,7 @@
<div id="searchbox"> <div id="searchbox">
<input id="searchInput" autofocus placeholder="{{ .Params.placeholder | default (printf "%s " .Title) }}" <input id="searchInput" autofocus placeholder="{{ .Params.placeholder | default (printf "%s " .Title) }}"
aria-label="search" type="search" autocomplete="off"> aria-label="search" type="search" autocomplete="off" maxlength="64">
<ul id="searchResults" aria-label="search results"></ul> <ul id="searchResults" aria-label="search results"></ul>
</div> </div>