Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date field rapidly descending value #1331

Open
ksullivanmcc opened this issue Dec 11, 2024 · 0 comments
Open

Date field rapidly descending value #1331

ksullivanmcc opened this issue Dec 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ksullivanmcc
Copy link

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
@ksullivanmcc ksullivanmcc added the bug Something isn't working label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant