Use ID of selected item in Radio button list

Resolved

Good day

I'm working with transactions that has a category (discipline) assigned to it. I want to give the user the ability to update the category on the transaction. My app works against a backend on Azure cloud services, so all actions are performed via API calls.

I'm displaying a list of possible categories in a radio button list. When the user selects one from the list, I need to call an UpdateCategory API endpoint with the transactionId and categoryId.

How do I get access to the ID of the item that's selected? When I want to grab the value for the widget state, it's not available, only the category name is, because that is what is displayed on the radio buttons.

6
7 replies