Fixes #657: use data-autofirst parameter for awesomeplete
data-autofirst automatically selects the first item of the list of choice automatically. You just have to press enter to use it.
This commit is contained in:
parent
844021ab4c
commit
792b26789f
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
|||
{if="!empty($search_tags)"}
|
||||
value="{$search_tags}"
|
||||
{/if}
|
||||
autocomplete="off" data-multiple data-minChars="1"
|
||||
autocomplete="off" data-multiple data-autofirst data-minChars="1"
|
||||
data-list="{loop="$tags"}{$key}, {/loop}"
|
||||
>
|
||||
<button type="submit" class="search-button"><i class="fa fa-search"></i></button>
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
{if="!empty($search_tags)"}
|
||||
value="{$search_tags}"
|
||||
{/if}
|
||||
autocomplete="off" data-multiple data-minChars="1"
|
||||
autocomplete="off" data-multiple data-autofirst data-minChars="1"
|
||||
data-list="{loop="$tags"}{$key}, {/loop}"
|
||||
>
|
||||
<button type="submit" class="search-button"><i class="fa fa-search"></i></button>
|
||||
|
|
Loading…
Reference in a new issue