Skip to content

defaultValue not working when used in Camunda Platform < 7.16.5 #3002

@rondie

Description

@rondie

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.

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Camunda 7Flags an issue as related to Camunda Automation Platform 7FormsbacklogQueued in backlogbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions