Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-13897

Camunda Forms: "Number" and "Select" can not save or submit empty fields with default value

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.17.0, 7.16.5, 7.17.0-alpha4
    • 7.16.0-alpha4
    • tasklist
    • None

    Description

      This Issue tracks the form-js issue 169

      Environment (Required on creation):

      Description

      When running the example form, saving or submitting empty variables in select or number fields does not work if they are pre-filled

      For submit, if

      1. a field is pre-filled with a process variable
      2. I clear the field value
      3. I click "Submit"
      4. Check the process in Cockpit

      The process variable still has the value from before.

      For save, if

      1. a field is pre-filled with a non-empty value (e.g. because it is backed by a process variable)
      2. I clear the field value
      3. I click "Save"
      4. I reload the form

      The field value is no longer empty, but contains the default value again.

      Expected behavior (Required on creation):

      • I can submit empty values.
      • empty values are saved and correctly applied again after reload.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          1. form.form
            0.8 kB
            Martin Stamm

          Issue Links

            Activity

              People

                Unassigned Unassigned
                martin.stamm Martin Stamm
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce