Merge pull request #2633 from alecmerdler/fix-typeahead-template
Fix jQuery Typeahead Template Bug
This commit is contained in:
commit
977ae7a809
1 changed files with 1 additions and 1 deletions
|
@ -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) : '<span>' + datum['value'] + '</span>';
|
||||
return template;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue