Fix escape issue in dropdowns

This commit is contained in:
aignatov-bio 2020-05-28 10:55:36 +02:00
parent 183f5af7de
commit f7a215c953

View file

@ -632,11 +632,10 @@ var dropdownSelector = (function() {
title="${$('<span>' + label + '</span>').text()}"
data-ds-tag-group="${data.group}"
data-ds-tag-id="${data.value}">
${label}
</div>
<i class="fas fa-times ${selector.data('config').singleSelect ? 'hidden' : ''}"></i>
</div>`).insertBefore(container.find('.input-field .search-field'));
tag.find('.tag-label').text(label);
// Now we need add delete action to tag
tag.find('.fa-times').click(function(e) {
var tagLabel = $(this).prev();