10.08.2022, 06:50
Read-only class overrides the animation. Modify Custom JS like this:
Code:
$(function() {
$('.color-by-value').each(function(_, el) {
var $el = $(el), addr = $el.data('object');
if ($el.hasClass('item-read-only')) {
$el.removeClass('item-read-only').css('pointer-events', 'none');
}
if (addr) {
grp.listen(addr, function(obj) {
var color = obj.value ? 'red' : 'green';
$el.css('color', color).toggleClass('blink', obj.value);
});
}
});
});