maxkordiyak / react-native-dropdown-autocomplete

Autocomplete input with dropdown modal component for React native. Useful for pages with multiple autocomplete's.
MIT License
100 stars 51 forks source link

Clarification: Did autocomplete show the suggested list if the search words contains in a string #31

Open nihp opened 4 years ago

nihp commented 4 years ago

[1] I have a clarification about the Autocomplete. Here I need to know does the AutoComplete will show the search letters related words.

For Eg,) Lake JesusMouth and Lake Noemie have o and e letter. If I search O or e as first does it show these words which I mentioned?

Also, Here If I type Lake means it listing all names started with Lake. It is fine but If I type a letter means does it show any result?

https://snack.expo.io/@niph/dropdown

[2]

Can we able to create tags using this. (i.e) If I need to show the selectedDropdown value as a tag above the input box means is it possible by using this package.

PaitoAnderson commented 4 years ago

1) It's a pretty flexible component you can always implement your own search logic instead of using the data property too. (See https://github.com/maxkordiyak/react-native-dropdown-autocomplete/issues/30#issuecomment-542703734) 2) I haven't done this myself and I'm not sure if this is exactly what you need but maybe try looking at the rightContent and rightTextExtractor props?