bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Typeahead directive no longer displays results correctly in Angular 1.2.x

Open Siyfion opened this issue 13 years ago • 3 comments

As seen below, I can use the arrow keys to select different lines in the results, but no text is ever displayed.

type

Siyfion avatar Sep 05 '13 08:09 Siyfion

There is an error in file template/typeahead/typeahead-match.html You should replace 'bind-html-unsafe' with 'ng-bind-html-unsafe'. In file ui-bootstrap-tpls.js it is allright.

herrerodani avatar Sep 05 '13 09:09 herrerodani

Mine already is that:

angular.module("template/typeahead/typeahead-match.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("template/typeahead/typeahead-match.html",
    "<a tabindex=\"-1\" ng-bind-html-unsafe=\"match.label | typeaheadHighlight:query\"></a>");
}]);

Siyfion avatar Sep 05 '13 09:09 Siyfion

Duplicate of #813

pkozlowski-opensource avatar Sep 05 '13 11:09 pkozlowski-opensource