Hi,
I am updating the name and therefore label of an element as described in the FAQ.
var sequenceShape = elementRegistry.get('MySequence');
modeling.updateProperties(sequenceShape, {
name: 'New name'
});
However my label on the element does not update until after I drag it with the mouse. i.e it doesn’t refresh.
I am having this issue with the latest version of Firefox and Chrome
I have also tried firing off the element.changed event like so,
eventBus.fire('element.changed', { element: sequenceShape });
Is this the expected behaviour?
Many thanks.