Error during changing element

Hi!
I have a little problem. When I try to change my element, after selecting any option, I get the error which I put below. After the error, the value of my item doesn’t change, I can’t move my item, etc., so this error causes a whole cascade of errors. I haven’t found any solution on the internet.
I have the latest versions of the packages.
Does anyone know what could fix this?

image
image
image

You cannot redeclare e in within your function. What you’re doing is:

function foo(e) {
  const e = 'foo';
}

What you could do is:

function foo(e) {
  e = 'foo';
}

Hope that helps.

Thank you very much, but snippet of code that i postem above is a part of bpmn js library.
So, it will not work, only one thing what i can do is a make pull request to help fix it faster. Am I right or wrong?

Then you need to elaborate about your setup and the customizations you made. Can you share any details?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.