I have a small issue/(misunderstanding ?) using bubble to java script in my app (value type : yes/no)
I fill it with a list of booleans by parsing a json string where the value is : ,“experiment”:false,
I then flip the values using a ionic toggle set to trigger :
I inspect my custom-state holding the modified values and it seems to be an ordinary boolean value
Trying to iterate my list to create an object to stringify, I get an error: no is not defined, or “nei” as it is in my native tongue.
I’ve tried using strings, numbers etc as the boolean value but there is always some fuss when either saving/parsing og stringifying.
When i inspect the element it says : nei = no
why not false,false,false etc…
Is there anything special as to how toolbox or bubble is handling lists of booleans, shold i just use strings ?
Is this just a common json parse/stringify problem
Anyone else found a solution/compromise ?