vishaldhanotiya / react-native-modal-picker

This is a cross-platform picker with search bar for react native support both platform IOs and android
https://www.npmjs.com/package/rn-modal-picker
44 stars 18 forks source link

Search any character in the search like statement in SQL #16

Closed keremburak closed 3 years ago

keremburak commented 4 years ago

Hi vishaldhanotiya,

Thanks for this nice picker. I am a beginner about RN. I want to show all results when I enter any characters in the search bar. But, it deosnt show any result like. The results are shown only if I type all true word.

I expect this search bar as 'LIKE' statement in SQL.

How can I achieve this functionality?

Thanks in advance.

vishaldhanotiya commented 4 years ago

Hii @keremburak, Changed picker search filter startWith to includes Now search working as LIKE statement of SQL