react-native-element-dropdown
react-native-element-dropdown copied to clipboard
Should return index in onChange
Hello Thanks for the perfect DropDown.
I think the DropDown's onChange
function should return the index
value too onChange={(item,index)=>{}}
hi @ydv0121 , You can filter the data list to find the index.
this actually prevents using async options which would be cool with multi dropdown search... search is not only convenience of the front, it could be used to optimize stuff. would love this feature
Please implement this feature if possible. I am also looking for it. Instead of looping through the list