Template selector doesn't work
See original GitHub issueDescribe the Bug
We have integrated BPMN.iO into Drupal a while ago and worked with version 8.x of bpmn-io and version 0.4 of this module. We’re also using the camunda and the template extensions.
Now, we’re upgrading to version 9.x and 1.0-alpha which is a huge step forward. Thanks a lot for that.
All is working fine, except the template selector doesn’t show up. We validated all our templates, and they are just fine. Also, debugging the setTemplates
confirms, that the validator accepts all templates as valid.
The button “+ Select” only shows on elements, where we have applicable templates. But when we click on the button, nothing happens. Not even an error or warning in the browser console.
When we open existing models which already use some of those templates, then we get the drop-down “Applied” and we can unlink the template. Also, elements with an applied template show all the defined properties from the template. The other test, removing all our templates from the application and opening an existing model, then we get the red indicator “Missing template”.
All that tells me that the templates are ok and recognized. Only the select template action doesn’t work.
I don’t know how I should further debug this and hope, somebody from the community could help me finding out what’s wrong.
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (6 by maintainers)
Top GitHub Comments
@jurgenhaas We’ll see if we can provide you with a chooser or a way to build one.
It is really something that is missing with properties-panel@1, I acknowledge that.
Done in https://github.com/bpmn-io/element-template-chooser/issues/1 and https://github.com/bpmn-io/element-template-chooser/issues/2