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

Cannot read property 'indexOf' of undefined, js engine: hermes in search

Open Madhav131 opened this issue 2 years ago • 3 comments

Madhav131 avatar Apr 01 '23 05:04 Madhav131

You need to pass searchField attribute with on which you want to search. as below

ex. I want to allow search on lable, I have passed label as value of searchField

`<Dropdown
search maxHeight={300} minHeight={100} labelField="label" valueField="value" searchField="label"

                  />`

I hope this helps

ionwebs avatar Sep 02 '23 11:09 ionwebs

https://github.com/hoaphantn7604/react-native-element-dropdown/issues/54#issuecomment-1079614091

jameszhan02 avatar Oct 18 '23 18:10 jameszhan02

#54 (comment)

Label cant be null

jameszhan02 avatar Oct 18 '23 18:10 jameszhan02