Skip to content

Validations can be added to a read-only field #1390

Open
@korthout

Description

@korthout

Describe the Bug

I can configure validations on a read-only field.

In Camunda 8, this can lead to a task that cannot be completed in Tasklist because the field doesn't have a value (no variable was provided for the field key). As a workaround, a local variable can be created.

Steps to Reproduce

  1. Open Camunda Modeler
  2. Create a new Form
  3. Add a TextField
  4. Make it read-only
  5. Define validations, e.g. make the field required

Expected Behavior

It doesn't make sense to add validations to a read-only field. It can not be altered anymore.

Environment

  • Host (Browser/Node version), if applicable: [e.g. MS Edge 18, Chrome 69, Node 10 LTS]
  • OS: [e.g. Windows 7]
  • Library version: [e.g. 2.0.0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions