I've got a fairly straighforward table of attributes. Each attribute object has a name and a set of possible values. I would like to enable the user to select one of the possible values from the Dropdown (or Tags, I don't care which) component, and then save the state of all selected attribute values.
For the life of me, I cannot figure out how to determine which value in the array of attribute values has been selected. I'm sure I'm missing something obvious.
A snapshot of the table is below. The "attr_value" column definition is shown, although I know it's wrong, but using ['0'] is the only way I've found to show the dropdown correctly.
Thanks for any advice!