Input based Components within a list are deviating from expected behavior whilst the default values they are based on changing values

  1. My goal: Create a dynamically sized list that can be edited by the user, isn’t compressible into a table, AND also follows retool’s regular process
  2. Issue: Components that take inputs do not change their presented value when the underlying value changes unlike those same components outside of a list.
  3. Steps I've taken to troubleshoot: I’ve added the ā€œreset valueā€ functions to run for all the component objects every time an edit is saved, as the actual application has the contents of these lists change regularly and this issue causes the user swapping between the information groups to not being demonstrated properly. The penultimate issue with this strategy is that the information is not present as soon as the information is loaded up as it passes through a few transformer queries, resulting in the possibility of it being opened prior the underlying information being prepared (by seconds or less) so the user sees none of the values of the input list filled in. In order to avoid this, I had to create a loop of queries waiting for the input components to not be null which is needless overhead IMO.
  4. Additional info: (Cloud or Self-hosted, Screenshots) Cloud

Example App: https://gritppo.retool.com/embedded/public/644ba26e-1006-4aeb-aff9-63267d00564f

Hi @Daniel_Fleuranvil,

Thanks for reaching out about this! It's a bit tricky to diagnose without seeing the queries, but this certainly sounds like it should work the way you're expecting.

Any chance you can share the code or dm me an export of the app?

Hi @Tess,
Here is the json export for the example application I listed above. The only queries on the page are to allow the buttons to clear or reset the items on the list component AND regular components at the same time to highlight the issue clearly. The ā€˜set null’ button is speaking directly to the variable that the list is based on.

List Error Example.json (27.3 KB)