Skip to content

Workflow configuration panel field "datetime-local" broken #1613

@JamesUoM

Description

@JamesUoM

Opening a workflow with a datetime-local field through the following error in the browser console:

Uncaught TypeError: Cannot add property defaultValue, object is not extensible
    at workflowPanelUtils.ts:42:25
    at Array.forEach (<anonymous>)
    at fillDefaultConfig (workflowPanelUtils.ts:34:11)
    at workflowPanelUtils.ts:17:28
    at Array.forEach (<anonymous>)
    at setDefaultConfig (workflowPanelUtils.ts:15:15)
    at setDefaultValues (StartTaskWorkflowPage.tsx:54:32)
    at handleChange (StartTaskWorkflowPage.tsx:83:12)
    at onChange (DropDown.tsx:208:24)

I found this in 18.x but seems to be present in develop too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions