From 792b26789fe9f6245a155e47aea0273917ac33d7 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 11 Mar 2017 13:47:07 +0100 Subject: 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. --- tpl/default/page.header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/default/page.header.html') diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index b76fc03e..dcc0d5a1 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html @@ -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}" > -- cgit v1.2.3