How rewrite an array of objects in AppGyver

Check here if you need to rewrite an array of objects in AppGyver APP using formula.

First of all you will need read the array of objects using MAP funcition, inside formula.

Then use this fórmula:

MAP<index , value>(data.especialidadeList, {"value": STRING(value.id), "label": value.especialidade })  

%d blogueiros gostam disto: