Skip to content

How to Allow Typed Text ? #226

Description

@quarks3k

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.

Activity

  1. mgod commented on Mar 9, 2019

    @mgod
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions