Show autocomplete suggestions on focus
nreibnitz last edited by
I implemented search and autocomplete on my site correctly and it behaves exactly like the ones in the showcase. Now I wanted to change the behaviour so that the suggestions show again when I click the search input field again. I tried using the ‘trigger()’ autocomplete method @fucus of the search component. But it doesn’t work although the console.log fires.
See here: https://codepen.io/nicolas_reibnitz/pen/WPPxBE
(I added only some example countries. Try Afghanistan.)