Custom Prop for Service Tasks: `TypeError Cannot add property __, object is not extensible`

Hi,

I am trying to customize bpmn-js-properties-panel according to this example here.

I am trying to add a custom property destination to all the service tasks.

Please refer to my codesandbox.

I get this below error when I try to add Service Task:

image

I am not sure how to solve this. Any help would be appreciated. Thanks!

This is an JSX interoperability issue.

You must build your extension against @bpmn-io/properties-panel/preact.

Cf. TypeError while trying to add a custom property to Service Tasks · Issue #209 · bpmn-io/bpmn-js-examples · GitHub.

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