diff --git a/app/assets/javascripts/sitewide/dropdown_selector.js b/app/assets/javascripts/sitewide/dropdown_selector.js index ba7eefb6f..c4d9519fa 100644 --- a/app/assets/javascripts/sitewide/dropdown_selector.js +++ b/app/assets/javascripts/sitewide/dropdown_selector.js @@ -727,16 +727,17 @@ var dropdownSelector = (function() { // Select element appearance var tagAppearance = selector.data('config').selectAppearance === 'simple' ? 'ds-simple' : 'ds-tags'; var label = customLabel ? customLabel(data) : data.label; + var title = (data.params && data.params.tooltip) || $('' + label + '').text().trim(); // Add new tag before search field var tag = $(`
`).insertBefore(container.find('.input-field .search-field')); + tag.find('.tag-label').attr('title', title); if (selector.data('config').labelHTML) { tag.find('.tag-label').html(label); } else {