Share feedback, ideas and get community help

Updated 3 months ago

array of arrays - when accessed can't use

I needed to apend array values in a variable into another variable holding the array of arrays. It saves correctly but when I access on of the arrays and try to use it in a function, it does not work- it seems to evaluate as a string.

I am going to try to just save them to nocodb and access them back from there and see if that works, BUT I think this may be a bug.

To recreate it, just generate random arrays of values like 3, then save those arrays into another array. Then access one of those arrays by index and try to process them in a function.

@Baptiste -If needed I coudl set up an example of this but I'm just super busy. But if you need me to throw that together, let me know!
B
3 comments
In typebot, what is saved can only be:
  • string
  • list of strings
This is a limitation you have to work with.
You could save other types and then you'd have to call JSON.parse on it every time you evaluate it.
Add a reply
Sign up and join the conversation on Discord