How to get the element.changed event trigerred for a custom element

We have customized the properties panel to add new text box and dropdowns.

Any change in the value for these fields are not detected by this code block.
this.bpmnModeler.on('element.changed', (e) => { });

But any changes to the name/id text box or any other out of the box elements are detected by the code block.

Appreciate any help with this.

Hi @deepika.v ,

It would help to see the code that you use to update the elements.

I assume you set custom properties on an element using the “new text box and dropdowns”. If you do that, you should use modeling.updateProperties(). This will ensure that with the update of the element, also various other things happen (e.g., updating references, enabling undo/redo, …).