Adding Custom Properties Alongside Element Template Properties in BPMN.io

Hi BPMN.io community,

I’m working with BPMN.io and using the @bpmn-io/element-template-chooser plugin to implement element templates in my project. However, I’m encountering an issue with custom properties:

Current Situation:

  • I have implemented @bpmn-io/element-template-chooser
  • I have also created custom property fields in the properties panel
  • When I apply a template to an element, my custom properties are no longer visible

What I’m Trying to Achieve:

  • I want to be able to show both template properties AND my custom properties in the properties panel
  • The custom properties should remain visible even after applying a template

Questions:

  1. Is it possible to display custom properties alongside template properties?
  2. If yes, how can I prevent the template from hiding my custom property fields?
  3. Is there a specific configuration or approach to maintain both types of properties?

Any guidance or examples would be greatly appreciated.

Technical Details:

  • BPMN.io version: 18
  • @bpmn-io/element-template-chooser version: ^1.0.0

Will be great to get answer to this. We have similar need