Populate Select options dynamically from external source

Populate Select options dynamically from external source

Amit2023
Shopify Partner
1 0 1

Is there any way I can populate Select Options ( under schema>settings ) dynamically from external source in app extension ?

 

{% schema %}
{
"name": "test-field",
"target": "section",
"class": "testClass",
"tag": "section",
"settings": [
{
"type": "select",
"id": "test_id",
"label": "Test Field",
"info": "An option for informational text about the test field",
"options":
[
{
"value": "test_value_1",
"label": "Test Value 1"
},
{
"value": "test_value_2",
"label": "Test Value 2"
},
{
"value": "test_value_3",
"label": "Test Value 3"
}
]
},
{ "type": "color", "id": "colour", "label": "Star Colour", "default": "#000" }
]
}
{% endschema %}
Reply 1 (1)

Chris156
Shopify Partner
12 0 7

Looking for this as an option as well. It would be truly amazing for theme extensions to be able to query and use their data as options for selects and perhaps other fields as well. 

 

It would make it feel and be more integrated with the app extension and open up more options for the extension.