I have to add custom fields in my product on the properties panel.
With “bpmn-js-properties-panel”: “^0.31.0”, I was making use of entryFactory.textField(…) to create a textbox and use the set and get functions to update the businessobject.
With “bpmn-js-properties-panel”: “^4.0.2”, how do I do the same? I saw this reference https://github.com/bpmn-io/bpmn-js-examples/blob/main/properties-panel-extension/app/provider/magic/parts/SpellProps.js. But I would like to have a more generic way of adding the form fields.
Please help.