I have an enum class and I want to get values of enum class into the dropdown list. The following code shows how I tried to do it. (I just add enum values as values of options i