Preserve 'select' dropdown annotations on click

pull/1/head
yflory 5 years ago
parent 8aebfac7ee
commit 2d72b6821f

@ -2294,7 +2294,9 @@ define([
value = val;
var $val = $innerblock.find('[data-value="'+val+'"]');
var textValue = name || $val.html() || val;
$button.find('.cp-dropdown-button-title').html(textValue);
setTimeout(function () {
$button.find('.cp-dropdown-button-title').html(textValue);
});
};
$container.getValue = function () {
return value || '';

Loading…
Cancel
Save