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(),
|
source: dropdownHound.ttAdapter(),
|
||||||
templates: {
|
templates: {
|
||||||
'suggestion': function (datum) {
|
'suggestion': function (datum) {
|
||||||
template = datum['template'] ? datum['template'](datum) : datum['value'];
|
template = datum['template'] ? datum['template'](datum) : '<span>' + datum['value'] + '</span>';
|
||||||
return template;
|
return template;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue