Updating an item in a list is removing the item.

  • carterux-1359090273728069682

    Seun Orofin

    20 days ago

    I have a very weird situation going on where i make an update to a specific item in a list using the index..but instead of it to get updated.. on the UI it is actually being removed from the rendered list.

    i am rendering the list and using a filter fomular to render question items under the right section based on the id.

    the list is being rendered via context from the top component from a fomular tied to the variable...this same approach worked with rendering the sections.

    So i am not so sure why its behaving differently for the questions.
    1359090274667597825-image.png
    1359090274005155891-image.png
  • carterux-1359103606174912512

    Seun Orofin

    20 days ago

    @Erik Beuschau
  • erikbeus-1359103889286234363

    Erik Beuschau

    20 days ago

    Any chance you can reproduce this in a public project? It's difficult to debug from the provided screenshots
  • leerussel-1359223881834959049

    Lee Russel

    20 days ago

    @Erik Beuschau me and @Seun Orofin are working on this together atm - could we do a video of this bug or would it be more helpful to copy this page out into a new project and share that? Just wondering how best to share this with you
  • lucasg-1359227244165464245

    Lucas G

    20 days ago

    Share the public link if possible
  • erikbeus-1359233094548455667

    Erik Beuschau

    20 days ago

    Yeah if it’s a public project, please share the editor url. A video would also be useful 👍
  • leerussel-1359235916450893886

    Lee Russel

    20 days ago

    Trying to get you a video now
  • its a private project nervous about putting their IP publicly in here!
  • erikbeus-1359236169115766835

    Erik Beuschau

    20 days ago

    You can also invite me to the org+project if you want. Username: god_of_code
  • leerussel-1359236303350136833

    Lee Russel

    20 days ago

    Okay lets try the video first because even directing you to this part of the logic is going to be a task haha its deep deep deep inside multiple nested components
    👍1
  • leerussel-1359248998480740456

    Lee Russel

    19 days ago

    Okay in filming a 10 min video explainer
  • we found the bug 🥲
  • It was a missing s in one of the value haahha
    😅1
  • we have been staring at that for 3 days
  • testing testing testing
  • it was a typo
  • now we know Toddle really is a tool for devs a typo can kill days of your time
  • lucasg-1359249873270083705

    Lucas G

    19 days ago

    Glad you found it
  • Thought it was likely something like that lol
  • Happens
  • 1016458212918177853-@Lee Russel
    it was a typo
    erikbeus-1359252281270206817

    Erik Beuschau

    19 days ago

    Would it be something we could’ve detected with an issue rule perhaps? 🤔
  • leerussel-1359252922902253650

    Lee Russel

    19 days ago

    So the items in the array had different key value pairs
  • hang you will laugh at this
  • Lets play spot the missing S and the Extra S between object 0 and 1
    1359253106927603822-Screenshot_2025-04-08_at_22.46.09.png
  • I don't think a rule would really pick this up @Erik Beuschau because sometimes its okay to have different key value pairs in each object haha
  • erikbeus-1359253750388363567

    Erik Beuschau

    19 days ago

    Ah I see 😅 Glad you found the issue though 🙌
  • carterux-1359253776623735105

    Seun Orofin

    19 days ago

    honestly...i didnt see it coming atall