I am trying to pass in the Label Annotations from a Google Vision connected system into an editable grid. When I use the attached code, fv!item.description and fv!item.score returns the data as a single list of string as opposed to the 10 independent dictionary items. How can I correct this?
rows: { a!forEach( items: local!gvLabels, expression: a!gridRowLayout( contents: { a!textField( value: fv!item.description ), a!textField( value: fv!item.score ) } ) ) },
Discussion posts and replies are publicly visible
Hi Justin,
Before sending the local!gvLabels in fn!foreach loop, Could you try casting the local variable to CDT type and loop?
cast( typeof( type!CDT ), local!gvLabels)