How to use Data Detail with Select input?

When I select an option from the list, I want to set Data Detail Key based on the option value. I’ve tried using on updated but doesn’t work well.

Community Page
Last updated: