react-native-material-dropdown icon indicating copy to clipboard operation
react-native-material-dropdown copied to clipboard

DropDown in FlatList

Open gkasireddy202 opened this issue 2 years ago • 0 comments

MicrosoftTeams-image (6)

MicrosoftTeams-image (5)

I am having array like [{value:"Apple","desc":'iOS'},{value:"Google","desc":'android'}] I need to show the object of array in first row in dropdown list not remaining rows. When i select apple or google then that value is set to first row of dropdown and set second row value is empty.

this.handleDropDown(value, index)} data={[{value:"Apple","desc":'iOS'},{value:"Google","desc":'android'}]} itemColor="rgba(0, 0, 0, .87)" />

Thank you.

gkasireddy202 avatar Dec 22 '21 15:12 gkasireddy202