PricingBlog

[solved] Nested list issues

  • chrislaupama-1284336688474361916

    Chris Laupama

    1 year ago

    Hi team,

    I'm currently repeating over an array, some of the items within the array contain arrays ( nested lists ) however, when I try and repeat over the nested lists I don't seem to have any data.

    Here's a video walking through the issue: https://www.tella.tv/video/nested-lists-dilemma-9abc
  • chrislaupama-1284337881732878396

    Chris Laupama

    1 year ago

    Here's the JSON example:

    {
    "nav": [
    {
    "title": "Home",
    "slug": "",
    "link": "/",
    "children": [
    {
    "title": "Test 1",
    "slug": "quick-start",
    "link": "/getting-started/quick-start"
    },
    {
    "title": "Test 2",
    "slug": "quick-start",
    "link": "/getting-started/quick-start"
    }
    ]
    },
    {
    "title": "Getting Started",
    "slug": "getting-started",
    "link": "/getting-started",
    "children": [
    {
    "title": "Quick Start Guide",
    "slug": "quick-start",
    "link": "/getting-started/quick-start"
    }
    ]
    },
    {
    "title": "Features",
    "slug": "features",
    "link": "/features",
    "children": []
    },
    {
    "title": "Open Source",
    "slug": "open-source",
    "link": "/open-source",
    "children": [
    {
    "title": "Developer Guide",
    "slug": "developer-guide",
    "link": "/open-source/developer-guide",
    "children": [
    {
    "title": "Contributing",
    "slug": "contributing",
    "link": "/open-source/developer-guide/contributing"
    }
    ]
    }
    ]
    }
    ]
    }
  • chrislaupama-1284338853838327940

    Chris Laupama

    1 year ago

    I've tried so many ways, I think this is a bug 🐛
  • dfeinberg5-1284387393876525129

    Danny

    1 year ago

    Same issue. Definitely a bug. Was working the other day.
  • chrislaupama-1284397149550936094

    Chris Laupama

    1 year ago

    Team toddle think we have a bug here
  • andreasmoller-1284398278623887412

    Andreas Møller

    1 year ago

    We will take a look as soon as we can.
  • jacobkofoed-1284487902759223378

    Jacob Kofoed

    1 year ago

    Thank you, I will take a look 👀 and try to fix this.
  • lucasg-1284527494330060801

    Lucas G

    1 year ago

    The workaround is to set static test values for the repeat (manually copy/paste the array you’re repeating over
  • jacobkofoed-1284558746986483753

    Jacob Kofoed

    1 year ago

    @Chris Laupama I found a possible issue and attempted a fix, can you check if its better now or if you still see issues 🙏
    🙌2
  • chrislaupama-1284599463012335657

    Chris Laupama

    1 year ago

    @Jacob Kofoed yes this works again now! Thank you!
  • chrislaupama-1284802923150446634

    Chris Laupama

    1 year ago

    [solved] Nested list issues