Skip to content

[Bug]: Gantt Chart dynamic Data Binding does not work #1608

Open
@bartlebi

Description

@bartlebi

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I'm trying to use a gantt chart, but no matter how I try to build the array, I end up not being able to bind values ​​to the fields. For example, I have an array in this format:

{
  "0": {
    "id": "42405",
    "title": "title",
    "createdBy": "13585",
    "startDatePlan": "2025-03-25T00:00:01+03:00",
    "endDatePlan": null,
    "deadline": "2025-03-25T23:59:55+03:00",
    "dateStart": "2025-03-25T14:56:01+03:00",
    "commentsCount": "5",
    "ufTasksServices": false,
    "ufTasksAddress": "г ",
    "ufTasksPhone": null,
    "description": "<b></b>",
    "ufCrmTask": [
      "D_15945"
    ],
    "ufMailMessage": null,
    "ufTaskWebdavFiles": false,
    "ufTasksWt": "233",
    "ufTasksTp": "236",
    "ufTasksDp": null,
    "ufTasksPrice": null,
    "ufTasksCheckSend": null,
    "ufTasksCheckLink": null,
    "ufX5Shops": null,
    "ufIsX5Shop": null,
    "ufX5Code": null,
    "ufX5Square": null,
    "ufX5DopServRd": null,
    "ufShowPhone": null,
    "ufTasksCancel": null,
    "ufTaskCoordinates": "x:y",
    "ufNoPrintCheck": null,
    "ufProductList": "utu",
    "descriptionInBbcode": "N",
    "status": "5",
    "accomplices": [],
    "group": [],
    "creator": {
      "id": "13585",
      "name": "smbd",
      "link": "/company/personal/user/13585/",
      "icon": "/upload/resize_cache/main/4d7/mjx2ahidzt422fc8hp2d8jiusgfxi2lp/58_58_2/photo_2023_09_22_17_27_33.jpg.png",
      "workPosition": "tet"
    },
    "accomplicesData": [],
    "subStatus": "5"
  },

but when I try to assign fields via {{item.name}} (for example), there is no data. I go along the path, gradually typing characters, and I see that the array of values ​​​​is there, but it seems that the link to these values ​​​​does not work.
If I'm not mistaken, I encountered the same problem in the calendar component when I was studying it, but now I have no way to check - maybe it's somehow related.

Expected Behavior

Expected correct binding to array values

Steps to reproduce

Place a Gantt chart on the form and try to bind data from the object

Environment

Self-hosted docker latest version

Additional Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ComponentsDedicated to Frontend Visual ComponentsJavascript FrontendPull requests that update Javascript code

Type

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @raheeliftikhar5@bartlebi@adnanqaops

      Issue actions

        [Bug]: Gantt Chart dynamic Data Binding does not work · Issue #1608 · lowcoder-org/lowcoder