nicklockwood / FXForms

[DEPRECATED]
Other
2.93k stars 339 forks source link

how to get index from FXFormFieldOptions ? #422

Open realcarlos opened 8 years ago

realcarlos commented 8 years ago

now it always return the string I selected ,but I want the index of array selected. Thank you very much

realcarlos commented 8 years ago

me too

arkilis commented 8 years ago

My solution is init a dictionary, when the targeted string is returned, you can use dictionary to give a value.

realcarlos commented 8 years ago

ok, thanks

bar2 commented 7 years ago

why not just call indexOfObject on the array?