Hi all,
I'm trying to populate a select list from json data. How do I apply these array values dynamically into list?
My first instinct is to use .getJSON and then iterate over the data and append a select option. But that is not using the Appery API, so I built a service that is invoke on load to retrieve json from https://opendata.socrata.com/resource...
I assigned it variable name $features, then I feel like I need to map it into values of the select item.
I guess I'm lost as to the approach. I thought about assigning the select null values and then changing them on click like the fruit/vegetable tutorial but that didn't really flush out either.
Any thoughts??
Thanks!!!