I'm trying to create a dropdown with only country values and I can't seem to get retool to show the country name.
Adding {{ Countries.data }}
returns the following:
[
{"country": "Australia", "countryCode: "AU", ...}
{"country": "Argentina", "countryCode: "AG", ...}
{"country": "Austria", "countryCode: "AT", ...}
...
]
Adding {{ Countries.data.country }}
returns the following:
undefined
Does anyone know how to get show this as an array (as need for a dropdown) without the objects? Or even just rendering the country names in the dropdown?