Pricing Blog

Item variable missing

  • 0xjjw-1220107870863888485

    0xJJW

    1 year ago

    When rendering lists, I can no longer access the Item; it's not in the list of variables. Also, all existing instances of Item are returning undefined.

    Has anyone else experienced this?

    The weird thing is my lists have data and are displaying correctly (even the ones displaying undefined).
    1220107871363272744-Screenshot_2024-03-20_at_20.17.51.png
    1
    💯1
  • Tod-1220107875913957497

    Tod

    1 year ago

    Great energy @0xJJW! Your continuous contribution to the toddle Community just made you advance to Community Level 1!
  • erikbeus-1220268708191273031

    Erik Beuschau

    1 year ago

    Does the list have a length greater than zero?
  • jacobkofoed-1220285184759300218

    Jacob Kofoed

    1 year ago

    Hi @0xJJW Do you have a link to your project I can check out. I'm trying to reproduce the issue, but no luck on my side just yet.
  • 0xjjw-1220348244178112563

    0xJJW

    1 year ago

    Hi @Jacob Kofoed thank you for getting back to me. I can't share the project link as the data is loaded from an API being served locally.

    After further investigation we have tracked the issue down to the SVG's. It appears when the SVG's are expanded in the navigator the repeater context is broken.

    This could be a problem with our SVG's specifically as they where copied from Figma.

    Here is a video
    https://www.loom.com/share/887bcb1a672b4dfdbfa1e96915b38d89?sid=149b8afd-055a-42bc-bb3e-d88a01bdcdf0

    CC @Erik Beuschau