Helper method to find the value of the specified key from the dropdown list.
Value of the specified key