Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Model Objects (Not only Strings) for the auto completion #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mohshin-shah
Copy link

One can use the models to be used in autocompletion.
Because If one would have populated using strings only, one has to first of all create an array of strings from the array of models for specific property and then when cell is tapped it is hard to search for that model (If duplicate entries may exist)

Please check the example for more details.
For example, User can create Place Model and onSelect closure placeModel will be in the callBack.So other properties can be accessed handy.

@mohshin-shah
Copy link
Author

Can anyone please look into this and merge this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant