Search: autofocus on name field. Probably should add enter key functionality later as well. It'll speed up looking up an item immensely (load page, type item name beginning, enter, get item) so good idea yes.

This commit is contained in:
SayaDuck 2021-03-12 19:36:42 -05:00
parent 7504a9b3f4
commit 4326d66a21

View file

@ -59,7 +59,7 @@
<div class="searchbox">
<div class="left">
<label for="name-choice">Name:</label><br>
<input class="searchinput" type="text" id="name-choice" name="name-choice" placeholder="Item name (case insensitive)" tabindex="1"/>
<input class="searchinput" type="text" id="name-choice" name="name-choice" placeholder="Item name (case insensitive)" tabindex="1" autofocus/>
<p class="error"></p>
</div>
<div class="left">