-
Notifications
You must be signed in to change notification settings - Fork 508
Description
Describe the bug
A select element in a form has an option to select one of the values as its default (defaultValue
). When using this on Camunda Platform versions < 7.16.5, the default value does not show up when viewing the form.
This is because defaultValue
was only introduced via [email protected]
, which was embedded earliest in Camunda Platform 7.16.5. I got no warning on the form editor while configuring my form.
Also can't find it referenced on https://github.com/bpmn-io/form-js/blob/master/docs/FORM_SCHEMA.md, but I suspect it does not contain all possibilities.
Steps to reproduce
Make a form a select element, enter some values and set one as it's default. It does not show up as default value after deployment (tested on camunda platform 7.16)
Expected behavior
Got a warning in the Modeler that defaultValue
is not supported in < 7.16.5. Note that would also need the Modeler do distinguish between patch versions of an execution platform.
Environment
OS: MacOS 12.0.1
Camunda Modeler Version: 5.0.0
Execution Platform: Camunda Platform 7.16.0
Installed plug-ins: none
Additional context
No response