From 481daff85d4831f0f618d0673a28539aefaf8657 Mon Sep 17 00:00:00 2001 From: alecmerdler Date: Tue, 9 May 2017 12:25:21 -0700 Subject: [PATCH] jQuery typeahead suggestion template needs to be valid HTML markup --- static/js/directives/ui/dropdown-select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/directives/ui/dropdown-select.js b/static/js/directives/ui/dropdown-select.js index e6cd0e289..00e4f4da1 100644 --- a/static/js/directives/ui/dropdown-select.js +++ b/static/js/directives/ui/dropdown-select.js @@ -80,7 +80,7 @@ angular.module('quay').directive('dropdownSelect', function ($compile) { source: dropdownHound.ttAdapter(), templates: { 'suggestion': function (datum) { - template = datum['template'] ? datum['template'](datum) : datum['value']; + template = datum['template'] ? datum['template'](datum) : '' + datum['value'] + ''; return template; } }