Preserve 'select' dropdown annotations on click

pull/1/head
yflory 5 years ago committed by ansuz
parent 0e7e94b006
commit c32f0d61ce

@ -2299,7 +2299,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