Hello folks. I'm using a Dropdown Button with mapped options coming from a datasource. Since I'm not using manual options, I can't set an event handler to each option, also I can't get which button was clicked if I add a component event handler - or at least I couldn't find how to do that.
What I have figured out is the dropdown button assigns "item" to the mapped object that is selected. So here you can see I have my array of objects with names and color keys. Then I have a script the console log the "item.color".