I am using the Bubble API Connector Plugin to retrieve a list of Customer records. I am able to set the Types of Choices and Choices source but I simply cannot find out how to set the Option Caption based on the values returned. I know that the query is working because I have a texbox that updates when the dropdown option is selected and it is showing the correct value’s.
My config for the drop down
The options showing empty
After selecting an option
This is what the json looks like that is being returned from the API
{
"returnCode": 0,
"returnCodeDescr": "OK",
"customers": [
{
"created": "2011-07-14T19:43:37+0100",
"manufacturerId": "1",
"id": "100000",
"name": "Pancake, Inc.",
"contact": {
"firstName": "Joe",
"lastName": "Blow",
"email": "Joe@usa.com",
"phoneNumbers": [
{
"type": "mobile",
"number": "555-1212"
},
{
"type": "home",
"number": "555-1213"
}
]
}
},
{
"created": "2019-06-06T19:43:37+0100",
"manufacturerId": "4",
"id": "100102",
"name": "OCCUS",
"contact": {
"firstName": "KK",
"lastName": "Lucky",
"email": "kk@usa.com",
"phoneNumbers": []
}
},
{
"created": "2019-06-06T19:43:37+0100",
"manufacturerId": "2",
"id": "100101",
"name": "STACK Demo Customers",
"contact": {
"firstName": "JJ",
"lastName": "Lucky",
"email": "jj@usa.com",
"phoneNumbers": []
}
}
]
}