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

How to Allow Typed Text ? #226

Closed
quarks3k opened this issue Jun 20, 2016 · 1 comment
Closed

How to Allow Typed Text ? #226

quarks3k opened this issue Jun 20, 2016 · 1 comment

Comments

@quarks3k
Copy link

quarks3k commented Jun 20, 2016

first thanks for great library ,

I have created an Adapter with filterable interface which fetches items from REST API and displays it as suggestion.Everything work great till this point .What i want is allow user to enter typed text as well with auto completion ! it does not let me do it If I enter typed text and complete it with "," it takes suggestion Adapter's first item automatically instead of typed text. I am using this implementation in email client's TO field.
so I what i want is , user is allowed to use typed emails as well contacts from suggestions too.

Waiting for your reply.
Thanks.

@mgod
Copy link
Contributor

mgod commented Mar 9, 2019

You should be able to enter freeform text in version 3.0.0. If you're just looking to allow users to hand-enter tokens, you should disable performBestGuess and make sure defaultObject returns a non-null value.

@mgod mgod closed this as completed Mar 9, 2019
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

No branches or pull requests

2 participants