- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2017 02:11 PM
I have created a custom Typeahead search & homepage search Widget.
I did this like 6 months ago and have some flashback that there was a twist to get it to work.
If I type something, the dropdown isn't working like it should. If I press enter I get to the search page and the correct results is showing...Anyone know about this behavior?
This is how it looks like:
and if I press enter I get to the search results and it shows me the 6 items I should have seen in the dropdown. If I change the custom homepage to use the OOB typeahead widget here:
it works like it should...
//Göran
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2017 02:40 PM
found it... when I cloned the widget, the angular ng-template "sp-typahead.html" didn't tag along, and it uses that to show the results...
Weird part here is that that template can only be on 1 widget at the time. so when I edited and put it here, it vanished from the first.
so I created a new one for my typeahead with the same data as this template and just changed in the code to go for my template.
//Göran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2017 04:46 PM
Hi Goran,
Thanks for this, it certainly helped but what I would like to know is what is the stuff that you changed when you created the angular ng-template? When I copy and paste the code, this doesn't seem to be working for me.
Mussie