Auto complete search

67 views
Skip to first unread message

talles dantas

unread,
Apr 15, 2015, 10:51:45 PM4/15/15
to seman...@googlegroups.com
I'm trying to make a search with auto complete but its not working my js code is:

$('.ui.search')
    .search({
debug: true,
      apiSettings: {
   action:'search',
        url: '/chat/addamigo/cod/{query}'
      },
    })
  ;

the return of the call is:

[{"title":"taaaaaalles","description":"552eecea80bc7be41a00002d"}]


and the html is:
<div class="ui search">
<input class="prompt" type="text" placeholder="... etc" >
<div class="results"></div>
</div>


but it keeps showing me the blank message 

"No Results
Your search returned no results"



what can i do to create an ajax auto complete in semantic

Bruno Tourinho

unread,
Jul 10, 2015, 4:52:47 PM7/10/15
to seman...@googlegroups.com
same problem here!

didn't quite understand the search API

Bruno Tourinho

unread,
Jul 13, 2015, 8:37:26 AM7/13/15
to seman...@googlegroups.com
same problem... anyone figured out a way to make it work?
Reply all
Reply to author
Forward
0 new messages