Skip to content

Date field rapidly descending value #1331

Open
@ksullivanmcc

Description

@ksullivanmcc

Describe the Bug

Not exactly sure this is the right place to be posting this, so please direct me if I'm in the wrong spot. I'm using Camunda Modeler to create a form file:

{
   "components": [
        {
            ...
        }
    ],
    "type": "default",
    "id": "foobar",
    "exporter": {
      "name": "Camunda Modeler",
      "version": "5.29.0"
    },
    "executionPlatform": "Camunda Platform",
    "executionPlatformVersion": "7.21.0",
    "schemaVersion": 17
}

After setting a date code, and then assigning that date to a date time field with a subtype of Date, when viewing the form the date is rapidly declining, and is in a state that is un-interruptible.

Steps to Reproduce

  1. set a date in code, and set the value to a variable used by the form:
const newDate = new Date().toISOString().split('T')[0]
variables.setAll({
  date: newDate
})
  1. in camunda modeler, reference the date variable in a date time field with a subtype of date:
Screenshot 2024-12-11 at 5 09 32 PM
  1. now, when viewing a live form that uses the date, it is in a rapidly declining state, as displayed in the screen capture attached.
Screen.Recording.2024-12-11.at.5.17.11.PM.mov

Expected Behavior

The date field should simply be populated with the date being passed to it from code.

Environment

  • Host (Browser/Node version), if applicable: Chrome v131 and Safari v18
  • OS: mac, apple m3 pro, Sequoia. and Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogQueued 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