Hello.
I receive a list of items from a JSON, and I show them as a list in a page. Each item has a boolean value, and I want to assign it to a toggle element in my Appery project.
The problem is that the toggle item only has a value of Visible. I suppose that I must store the boolean value in a local variable, and using Javascript modify the status of the toggle to show if it is On or Off.
But I don't know how to change the status of the toggle using Javascript, and to do it for each item in the list.
Thanks in advance.