Conditional rendering of Property Panel Extension elements

Hi,

This is my second question on this forum. I am really starting to enjoy working on BPMN JS and integrating it with my Angular Front End. I have a question to ask.

I have extended the properties panel, but the elements of properties panel are same for every element whether its a task (any type of task such as User task or service task) or a sequence flow.

image

How should I render these fields conditionally based on the type of element clicked in the modeler(canvas) ?

Any kind of help will be appreciated :slight_smile:

Thanks,
Ankur

Hi @ANKUR_PESHIN,

I am glad you are enjoying working on BPMNJS. Kindly check out this example which does what you would like to achieve.

Best,
Seif