react-native-dropdown-select-list
react-native-dropdown-select-list copied to clipboard
Error when using search
Hi,
It may be due to the data items i am using to populate the dropdown but get the following issue when i enter a letter into the search bar:
` <SelectList
defaultOption={defaultOption}
setSelected={val => setSelectedDish(val)}
search={true}
data={dishNames}
boxStyles={{width: 0.55 * S_WIDTH}}
arrowicon={
<MIcon name="arrow-drop-down" size={20} color={'black'} />
}
searchicon={<MIcon name="search" size={20} color={'black'} />}
/>
`
The data items i use are an array of just strings (not objects)
I have the same problem. Did you solve it?