How to get id value on selected spinner from json

Hello, i have shown spinner elemen from json response
here is the API link
and this is the output

how to get “id” value on selected element of spinner from json and display on label

for example, if select the value “South Sumatra” from the spinner then the label displays the id of “South Sumatra” which is 16
Here is my block

Select item from list id and index is spinner selection index

blocks (35)



it worked, thank you very much! :grinning:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.