-
Notifications
You must be signed in to change notification settings - Fork 384
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
With getThreshold() set to 0, default object is added when view loses focus #94
Comments
hmmmm, modifying |
I am not sure I understand why modifying
I think requiring 2 characters for focus loss completion works too.... |
|
If you do not enable best guesses, the library tries to add an object with an empty string representation. |
I would like to use a threshold of 0 in my app - a list of available tokens is always shown. However, since internally a space is added after every token, upon loss of focus the default object will be appended at the end. The sample app exhibits this behavior when the following is added to ContactsCompletionView:
@OverRide
public int getThreshold() {
return 0;
}
I think the solution is to modify enoughToFilter() to return false when getThreshold()==0;
The text was updated successfully, but these errors were encountered: