New to Bubble. I’m trying to populate a dropdown using results collected from an API. Ideally the value of the option would be the returned “id” field, and the option text would be “name”. Data returned from the API is JSON format.
Fwiw, I can use the returned results to create a new “thing”, but can’t get it to work as a dropdown selection.
Each user can have multiple locations. Not sure if there is a better way to do this?
Hm, trying to understand this API call. Is it supposed to return multiple values because it looks like it’s only returning 1…?
You’re right though, for whatever reason, it’s not coming up as an API option as a data source. I’m not sure if there’s something that I’m missing due to that specific API or if it’s a bug.
Holy cow - just got it to work. I had the api call set to action instead of data. I was loading the data from the API on page load, when I really don’t have to do that. Just call it from the element itself.