Typeahead in the templates empty function - event doesn't work(Knockout.js)

64 Views Asked by At

I would like to add the custom event in the empty function from empty results.

Here is an example code.

 ,templates: {empty: 'No results' + '<a data-bind="click: event">Go</a>', suggestion:... }

When I click the GO event, it doesn't work.

Let me know if you have any suggestions. Thank you.

0

There are 0 best solutions below