0
I’m trying to make an option list in the loaders of a Struct. The code goes up, but when it comes to running, the Bug appears below:

I made an example template to try to isolate the error and identify the problem:
        +<a> : Struct {
            name = "Exemplo A"
            fields {
                +[booleanA] : Boolean {
                    name = "Sim ou Não"
                    request = "Sim ou Não"
                }
            }
        },
        +<b> : Struct {
            name = "Exemplo B"
            fields {
                +[listaA] : List ("Item A", "Item B", "Item C", "Item D") {
                    name = "Selecione o item da lista"
                    request = "Selecione o item da lista"
                    atomic = false
                }
            }
            loaders {
                if([a.booleanA] == true) {
                    [listaA].options = {"Item A", "Item B"}
                } else {
                    [listaA].options = {"Item C", "Item D"}
                }
            }
        }