bpmn-io / bpmn-js-element-templates

The element template extension for bpmn-js
MIT License
5 stars 3 forks source link

fix(cloud-templates): cast default number and boolean numbers to feel #121

Closed marstamm closed 2 months ago

marstamm commented 2 months ago

related to https://github.com/camunda/camunda-modeler/issues/4517

Proposed Changes

We already cast Number and Boolean values to feel when they are changed, but keep the default value. This leads to problems when the default value is a true instead of "=true".

This PR casts the default value to feel if the property requires it.

Checklist

To ensure you provided everything we need to look at your PR: